Preview:
  // const handleSubmit = (e) => {
  //   e.preventDefault();
  //   if (!email || !password) {
  //     showAlert(true, "danger", "Please enter value");
  //   }
  //   // if (password != passwordInput) {
  //   //   showAlert(
  //   //     true,
  //   //     "danger",
  //   //     "The password you entered does not match the password on file"
  //   //   );
  //   // }
  //   // if (email != emailInput) {
  //   //   showAlert(
  //   //     true,
  //   //     "danger",
  //   //     "The email address you entered does not match our records"
  //   //   );
  //   // }
  //   if(email != emailInput.value) {
  //     console.log("Wrong Email")
  //   }
  //   else {
  //     // Show alert and add person to person list only if name is true and not editing
  //     showAlert(true, "success", "Login Successful");
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter