Code your own Adventure Bieber


#1

"You are at a Justin Beiber concert, and you hear this lyric 'Lace my shoes off, start racing.'"

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

"Suddenly, Bieber stops and says 'Who wants to race me?'";
var userAnswer = prompt("Do you want to race Bieber on stage?");

This is the instructions I am getting :

Under your existing code, print out the storyline: "Suddenly, Bieber stops and says, 'Who wants to race me?'"
Then declare a variable userAnswer. Make it equal a prompt that asks the user "Do you want to race Bieber on stage?". This will be the question that you ask your user.

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

Not sure what I am doing wrong.


#2

forget it... i was missing a comma....


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.