What did i do wrong?


// Check if the user is ready to play!
confirm(“I am ready to play now!”)
var age = prompt(“How old are you”)
if(age < 13)
{ console.log(“You may play but we take no responsibility if you get in trouble”)}
else {
console.log(“Play on!”)
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 = “Yes” prompt(“Do you want to race Bieber on stage?”)
(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.’”)



Remove the "Yes" before prompt. The variable will be defined when you input in the box that will appear after you submit.