function validateForm(){
let x = document.forms["form1"] ["email"].value;
let y = document.forms["form1"] ["again"].value;
if (x != y){
console.log(x);
console.log(y);
document.getElementById("emailerror").innerHTML = "The entered emails do not match";
return false;
}
return true;
}