willtheorangeguy / willtheorangeguy.github.io

Detected the use of alert, confirm and prompt JS-0052
Anti-pattern
Minor
5 months ago2 years old
Unexpected alert
100    },
101    function (error) {
102      console.log("FAILED...", error);
103      alert("Form Submission Failed! Try Again");104    },
105  );
106});
Unexpected alert
 96    function (response) {
 97      console.log("SUCCESS!", response.status, response.text);
 98      document.getElementById("contact-form").reset();
 99      alert("Form Submitted Successfully");100    },
101    function (error) {
102      console.log("FAILED...", error);