4. First Move! Console.log error


#1



Replace this line with your code.

Can't figure out what's wrong. I keep getting this 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("I am ready to play");
var age = prompt ("What is your age?");
if(age < 13)
{
console.log("I'm sorry you are not old enough to play this game.")
}
else
{
console.log("Welcome to the adventure of the century!")
}
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 want to race me?'");
var userAnswer = confirm("Do you want to race Bieber on stage?");


#2

Hi instead of

console.log("Suddenly, Bieber stops and says, 'Who want to race me?'");

you should put

console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");

its missing the s to want


#3

Good grief! What silly mistake, argh......

Everything is running just fine now. Onward and upward.

Thanks!


#4

A post was split to a new topic: I am getting error


#5

'Who Wants to race me?'");


#6