Cant find my error in the if/else


var userAnswer=prompt

prompt(“Do you want to race Bieber on stage?”);

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


Hey @gamercop Try using console.log instead of 'command.log:slight_smile: and also you dont need to print the userAnswer condition in your else statement that’s also a problem.


And you dont have a sentence for your prompt

“var userAnswer=prompt” ???

“var userAnswer = prompt(“Do you want to race Bieber on stage?”);” do this instead


very tired at work messing around appreciate the help