Need help with First move!


#1


// Check if the user is ready to play!
if ("Are you ready to play?") 
{   confirm("I am ready to play!");
    
    }
var age= prompt ("What is your age?");

if ( age <13)
{ console.log("You can play but at your own risk");
    }
{ 
    ("Enjoy the new game");
    }
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 userAnser="Yes";
var userAnswer = prompt "Do you want to race Bieber on the stage?"
if (userAnswer== "Yes"){
    console.log ("Let the race begin!") }
else {
    console.log ("Justin Bieber keep singing")
    }


#2

Put the string in bracket parantheses and add a semicolon to the end of the line.

Also add semicolons after all the console.log lines.

This part doesn't do anything.


#3

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