I get: ReferenceError: promt is not defined


#1

I get: ReferenceError: promt is not defined

confirm("I am ready to play!")
var age = promt("What is your age");
if (age<13)
{
console.log("You are allowed to play, but I take no responsibility.")
}
else
{
console.log("Welcome on in!")
}


I need help on code your adventure lesson 2
#2

You misspelled "prompt"


#3

UGHH, thanks. Why could I not see that.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.