Where am I going wrong?


I get an error message that says "Oops, try again. Did you remember to put in the 'yes' answer option?" I'm pretty sure all the syntax is right, and the answer changes depending on the answer I give.

// Check if the user is ready to play!
confirm("I am ready to play!")

var age = prompt("What's your age?")

(age < 13)
    console.log("You can play, but I take no responsibility.")
    console.log("Please play!")

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?");

(userAnswer === "Yes")
    console.log("You and Bieber start racing. It's neck and neck! You win by a shoe lace!");
    console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");



Try changing Yes to yes

Hope this helps!


That did not help unfortunately, thanks though!


"You and Bieber start racing. It's neck and neck! You win by a shoelace!"

See the difference in shoelace and shoe lace That'c causing the error


It was as well, thanks buddy!


You're welcome!

Happy coding & learning :green_book: