The story heats up! ---> Did you add an if statement to your code?


#1

Hello!
Please help me. I don't find the mistake.
Thank you! :slight_smile:

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 shoelace!");
}else{
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");
}


#2

HI do you still have the if sattement that check for the age?


#3

oh, no already not. I'm trying.


#4

Thank you! :slight_smile: It's correct with the age statement.