Oops, try again. Your code doesn't look quite right. Check the Hint if you need help!


#1

// Check if the user is ready to play!
confirm ("Are you ready to play?")
var age = prompt("What's your age");
if (age<13) {
console.log("You are allowed to play but I take to responsibillity")
}
else {
"I hope you enjoy my game!"
}
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 statge?")
if (userAnswer === yes) {
"You and Bieber start racing. It's neck and neck! You win by a shoelace!"
}
else {
"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'"
}


#2

"You and Bieber start racing. It's neck and neck! You win by a shoelace!"

"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'"

add a " console.log(" "); " statement around these two sentences


#3

Like this:

console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
//and
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");

#4

/*yes is a string so it must to have "" e.g:*/

if (userAnswer === "yes") {
"You and Bieber start racing. It's neck and neck! You win by a shoelace!"
}
else {
"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'"
}


#5

@jibblyj wow your avatar is cool