5. what i am doing wrong?


#1

im having the same error as he is and i have the three equal signs

// Check if the user is ready to play!
confirm("are u a human")
var age = prompt("whats your age");
if (age < 13) { prompt("you are not allowed to play")
 } else{ console.log ("you are not allowed to play")
}
console.log ("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

console.log ("Suddenly, Bieber stops and says, 'Who wants to race me?'");
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 ("i make my own pace") 
}

5. What am i doing wrong?
#2

after a if condition, there shouldn't be a semi-colon, wrong:

if (condition);{ /* do something */ }

right:

if (condition){ /* do something */ }