No. 21


#1

What am I doing wrong?
My code:
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")
var age = prompt("What's your age");
var userAnswer = prompt("Do you want to race Bieber on stage?")
if (age < 13)
{
console.log
("Your are allowed to play, but you take no responsibility");
}
else {
console.log("Play on!");
}
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");
if (userAnswer = "yes")
{
console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!")
}
else
{
console.log( "Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
}
var feedback = prompt("Rate out of ten")
if (feedback>=8)
{
console.log("Thank you! We should race at the next concert!")
}
else
{
console.log("I'll keep practicing coding and racing.")
}


#2

You need a semicolon on all of your console.log() statements, all of them. Above is just the first one I found.

You misspelled "you're".