JSFiddle - React, Tailwind, and code Playground

by pamselle

JavaScript

var email1 = prompt('Your email address:');
    email2 = prompt('Re-enter email address:');

if (email1.toUpperCase() != email2.toUpperCase()) {
    document.write("Email addresses do not match\n");
}