Need help please


#1

Hi Guys,

So I am getting the following error message:

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

And here is the code I have written, not sure why its not working:

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 do not take responsibility for your pain")
}
else {
console.log("welcome to your doom")
}
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 Beiber on stage?")

Thanks,


#2

Maybe because you added a
'
Before the quotations mark on the last bit?


#3

No, unfortunately thats not the problem. Thanks though.


#4

Oh, sorry... did you figure it out? And thank you for trying my suggestion!