Hey guys, who can help me


#1


https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/5?curriculum_id=506324b3a7dffd00020bf661


ReferenceError: useranswer is not defined


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

variable names are case sensitive, userAnswer is a different variable then useranswer


#3

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