I cann't pass the next step

trustlevel

#1

At the section of "Code Your Own Adventure" topic no. 5(The story heats up!) i can not understand.
I have used below codes, but it's give a error. The error massage is "Oops, try again. Did you add an if statement to your code?"

The Code is:

console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");
var userAnswer = prompt("Do you want to rase biever 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.'" ); 
}

Please explain what's the error is here.


#2

This Code is okay and works fine but:
Where is the rest of your Code?


#3

I an having the same problem i just cant move on to the nest step....


#4

Please show me your code here