4/7 "Oops, try again" I don't understand what i did wrong


#1

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 ("Ready to bumble? Click OK to play");
var age = prompt("What is your age")
if (age < 13)
{
console.log("You are allowed to play this game but the gamecreators take no responsibility whatsoever");
}
else
{
console.log("Have fun and kick some ass");
}
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 stage?")

I did console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");
But why does it keep asking me if i remembered to do so???? Please help me!


#2

One little thing:

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

Between decimal point behind says, and the apostrophe. There must be a whitespace!

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

#3

Thanks so much! That was a really tiny thing, didnt even see it. I looked over the code so many times, thought i was going mental haha :stuck_out_tongue:


#4

effort reqires effort i have u know


#5

@juniorobot
You are welcome

@betaslayer41407

My english is not the best but i think you type something good :smiley: