Can not pass the task, same error message


#1



The story heats up!


Oops, try again. Did you add an if statement to your code?
MY COMMENT - I did add the "if" statement.


 
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

@dovydas1982,
Add this dummy IF statement.....

//if (condition ) {
// your code
// }
//else {
// your code
// }

the code-checker is expecting 2 IF statement's
one being the IF statement
of the prior exercise with which you checked the =age=