The story heats up! Oops, try again. Did you remember to put in the 'yes' answer option?


#1

// Check if the user is ready to play!
confirm("I am ready to play!");
var age = prompt("What\'s you age?","");
if ( age<13) {
console.log("Goodbye!");
} else {
console.log("let's go!");
}
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?", "yes");
if (userAnswer === "yes") {
console.log("You and Bieber start racing. It's neck and neck! You win by a shoeplace!");
} else {
console.log ("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");
}
================= END CODE ===============

It's returned me "Oops, try again. Did you remember to put in the 'yes' answer option?"
I don't now were the problem, help plz!


#2

HI you second if statement should print

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

and here what you are printing

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

you wrote shoeplace instead of shoelace


#3

Thanks, I'm glad that the problem was not in the code :relaxed: