I can't find the problem! HELP!


#1

When ever I save it says
Oops, try again.
Did you remember to put in the 'yes' answer option?
What do I do, because I did put the yes answer option

// Check if the user is ready to play!
confirm("Are you ready to beat this game!!!");
var age = prompt("How old are you?");
if(age < 14) {
console.log("You are allowed to play this game but I take no responsibility");
} else {
console.log("You can do this XD");
}
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?");
if( userAnswer === "yes" ){
console.log("You and Bieber start racing. It's neck and neck! you win by a shoe lace!");
} else {
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so you can race without pacing.'");
}


#2

Hi try to put "yes" with a upercase "y" like that "Yes" in your condition


#3

thanks for the help. It was not that it was the word shoelace I made it into to words by mistake.


#4

this can be closed now