First move, I dont konw


#1

I am stucked on 4 "First move". i don't know what I'm missing.

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


Replace this line with your code. 

confirm(" I want to play");
var age = prompt("what is  your age ?");
if (age < 13){
    console.log("You are allowed to play , but we are take no responsibility");
    }
else {
    console.log("Welcome to the world of a magic");
    }
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("it's honor to Bieber racing with you");
    }
else{
    console.log("You don't like Bieber am I right");
    }


#2

On this line of code:

console.log("Suddenly, Bieber stops and says,'Who wants to race me ?'");

You added a ' right after the question mark. I think that should do the trick.


#3

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