What Am I Doing Wrong?


#1



This is the excercise that I am stuck on:
https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/5?curriculum_id=506324b3a7dffd00020bf661#

When I press submit, I get the message, "Did you remember to put in the 'yes' answer option?"


My Code:

// Check if the user is ready to play!
confirm("I understand confirm!");
var age = prompt("What's your age");
if(age < 13)
{
    console.log("You are allowed to play but I take no respon sibility for your actions.");
} 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 = 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 showlace!");
} 
else 
{
    console.log("Oh no! Bieber shakes his head and sings 'I set a pace so I can race without pacing.'");
}

You help is appreciated!


#2

It's looking for 'shoelace' in your code. I'm not gonna bother figuring out if that makes any sense or not, but it probably comes down to instruction reading/exact copying.


#3

Thanks for the help!


#4