The story heats up!


#1

So, terminal prints out the true value, but there is suggestion I need to fix and I can't continue to next step.
Can you guys tell me whats wrong with my code?

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.'");
}

Here's the error message: Oops, try again. Did you add an if statement to your code?


#2

That code looks fine, could you post the rest, please?


#3

I erase the rest mate, that's all left by now


#4

Sorry, I can't see any problems with this.


#5

no problem mate, thanks for reply anyway