Menu
How do you make:
-Something that asks for your name, then confirms and if you click cancel it loops and asks for your name again?I tried this:
var name = prompt(“Type in your name!”,”your name here”);
while (confirm(“Is your name ” + name + “?”));
{alert(“Hello ” + name + “!”)
alert(“You were suprised when I knew yer name huh?”);
}