4.First Move



<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>


var age=22;
var age=prompt(“What is your age?”);
if (age<13){
console.log(“You are allowed to play but we take no responsibility.”)
else {
console.log(“You can play and enjoy.”)
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=“Yes”;
var userAnswer=prompt(“Do you want to race Bieber on stage?”);
if (userAnswer===“Yes”){
console.log(“You and Bieber start racing!”);
else {
console.log(“Bieber keeps on singing!”);

I can’t find out my error. I keeps saying “Did you remember to console.log(“Suddenly, Bieber stops and says, ‘Who wants to race me?’”); ?”

<do not remove the three backticks above>


Copy and paste that exact string from the instructions and replace yours with it, this lesson is very picky on punctuation/grammar

I think it’s because you don’t have a space between says, 'Who


I do copy and paste with the sentence and it works! Thank you very much.


Am I right in saying the story that takes is based upon the age you put in at the start as there are no other prompts needed ( saying yes or no ) .


Thanks! I was stuck at the same point, did copy and paste, and it worked!