Error on forgetting to apply console.log for a sentence that has it


#1

// Check if the user is ready to play!
confirm (" I have MLG gaming skillz.")
var age = prompt("What's your age");
if (age < 13)
{
console.log( "this game is rated M for extreme violence, but who cares?!")
}
else
{
console.log("GAME 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 userAnswer = prompt("Do you want to race Bieber on stage?")
if (userAnswer === "yes")
{
console.log(" You and Bieber start running. Halfway through the stage Bieber tries to trip you like the dirty scoundrel that he is. Luckily you dodge his little slip and decide to run at your full power. Channeling the power of the gods you run at Mach 20 speed and beat Bieber, who starts crying like a baby.")
}
else
{
console.log( " Bieber calls you a sissy. ")
}


#2

What exercise is this? Could you also post a screenshot of this lesson?


#3

It's the coding adventure game with the race against justin bieber.


#4

this is the exact error phrasing
Oops, try again. Did you remember to console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'"); ?


#5

if (userAnswer = "yes")
{

Comment out this line of code, and everything under it please. Make sure you do only what the instructions ask and do it exact.