4. First move!


#1



Why am I getting the error message

"Oops, try again. Did you remember to console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'"); ?"


// Check if the user is ready to play!
confirm("Are you sure you want to play this game?");

var age= prompt("What's your age?");
if (age < 13)
{ console.log("Sorry but you're too young for this game");
}
else
{ console.log("Welcome! goodluck playing this shit");
}

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= prompt("Do you want to race Bieber on this stage?");


#2

Your 'w' needs to be capital. :slight_smile:


#3

It worked! thanks! :smile:


#4

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