Can't find error plz help!


#1

Get error message "Did you remember to console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'"); ?" And I did remember that. Please help me! My code looks like this:

// Check if the user is ready to play!
confirm("Are you ready to play");
var age = prompt("What's your age");
if(age > 13)
{
console.log("You are allowed to play but i hold no responsibility")
}
else
{
console.log("You meet the age requirements, feel free to continue playing")
}

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

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

var userAnswer = prompt ("Do you want to race Bieber on stage?");



Replace this line with your code.


#2

the string printed should be an exact match, you misspelled bieber (beiber), maybe there are more mistakes, just copy it from the instructions


#3

Here the word beiber should have a capital B a the beginning so,

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


#4

It still won't accept my code :(:frowning:

My code:
// Check if the user is ready to play!
confirm("Are you ready to play");
var age = prompt("What's your age");
if(age > 13)
{
console.log("You are allowed to play but i hold no responsibility");
}
else
{
console.log("You meet the age requirements, feel free to continue playing");
}

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

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

var userAnswer = prompt ("Do you want to race Bieber on stage?");


#5

That was it! thanks a bunch :slight_smile: