Menu
[B]basically I want to not run the code if the choice is not y
password3=prompt(‘ please reenter password’,”);
[U]The code
if (password2!=password && password2!=null && password2!=”)
{
var choice = prompt(“Do you want to try again? If not register a new username and password on the registration page? (Y/N)?”,””);
choice = choice.toUpperCase();
}
if (choice != “Y”);
{
password3=prompt(‘ please reenter password’,”);
}