function success() {
      form.reset();
      status.classList.add("success");
      status.innerHTML = "Thanks!";
    }
// Success and Error functions for after the form is submitted
Success and Error functions for after the form is submitted
Success and Error functions for after the form is submitted
function success() {
      form.reset();
      status.classList.add("success");
      status.innerHTML = "Thanks!";
    }
function success ( ) { form . reset ( ) ; status . classList . add ( "success" ) ; status . innerHTML = "Thanks!" ; }
Success and Error functions for after the form is submitted
Success and Error functions for after the form is submitted