JSFiddle - React, Tailwind, and code Playground
by clayshannon
HTML
<button onclick="myFunction()">Add Another Email</button>
JavaScript
function myFunction() {
var email = prompt('Please enter the email address', '[email protected]');
if (email != null) //&& (email != "[email protected]")
{
alert(email);
}
});