Help on 4


confirm ("Are you ready to play?");
var age = prompt ("How old are you?");
if (age<18)
console.log("You are allowed to play but we take no responsibility.");
console.log("Go ahead! Play on!");
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 userAwnser === prompt("Suddenly, Bieber stops and says, 'Who wants to race me?'");


Wait are you sure it is 4/7? Or are you saying 5/7? :confused:


4/7 i think i went ahead and added else statement.

If i were to remove all that and be left with if(userAwnser=== "yes") it would give me an error "expected expression, got end of script"


You're supposed to end with:

var userAnswer = prompt("Do you want to race Bieber on stage?");


Ah I got it, thanks so much!