4 first move? what is wrong? help


#1

confirm("i am ready to play!");
var age = prompt("what is your age");
if(age >13)
{
console.log(" you can't play");
}
else
{
console.log(" you will play next year");
}

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 ==="y")
{
console.log("i might be");
}
else
{
console.log("go first");
}
i do not know what i am doing wrong... it is telling me "Oops, try again. Did you remember to console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'"); ?


#2

This is from your code.

This is what the instructions ask for. Very slight differences but different nonetheless. Make the adjustments :slight_smile:


#3

wow Capital letter..."Who" thank you so much..


#4

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