Prompt is not defined


First Move

It tells me that the prompt is not defined. Any help?

// Check if the user is ready to play!
confirm("I am ready to play!");
var age = prompt("What's your age?");
if (age < 13) {
    console.log("You are allowed to play but I take no responsibility")
} else{
    console.log("You're good!");
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")
console.log( "Suddenly, Bieber stops and says, 'Who wants to race me?'")
var userAnswer = promt("Do you want to race Bieber on stage?");



misspelling there!


Thank you soooo much


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