The story heats up!


var userAnswer=prompt();

if(userAnswer === "yes" ){
console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");


This is fine, what error are you getting?
Could you please post the link to the exercise as well?


I have this bug too


got the same problem here.........


If problems persist, please make a new topic, don't hijack this one (see guidelines)

The exercise checks two if conditions are present: the age check you build earlier and the if condition you add in this exercise

You should have both.


Same thing doesn't recognize the if statement


Anyone get a fix for this yet?


So Several people have same error. However your code has a semicolon ";" in wrong spot. At the end it should be at end of the curly braces that terminate your else statement, not before.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.