Help


#1



The story heats up!

Oops, try again. Did you add an if statement to your code?

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( "Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing." )
}


#2

Hi do you still have the if statement that check for the age?


#3

hey, nope,i don't have it


#4

You should Have it, it's for that you get the error

Edit
You could copy the code you have now, reset the code so that it will give you the code of the last lesson and then past the code you copy under it


#5

http://prntscr.com/agsm84 look here.Thank you


#6

you should have the code of the pevious lesson on top

confirm("Are you ready to play?")

var age = prompt("What's your age")
if (age < 13) {
  console.log("Here put your message");
} else {
  console.log("play!!!")
}

#7

thank you, now it work!