First Move


Replace this line with your code.

First Move

What are you having trouble with? Please copy, paste, and format your code.


`// Check if the user is ready to play!
("Ready to begin?");
confirm("Yes, begin!");
var age=prompt ("How old are you");
if(age<=13) {
console.log("Player is allowed to play but not responsible for player");
} else {
console.log("Play on");
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?');

It says something is wrong with the syntax??


Have a look at this line ^ you're missing something


Your missing something on your first line of code.

You are trying to ask the person who is playing the game if they are ready to begin or not right? In that case, how are you going to put that into action? You have the text, but you need something to control how that text is going to be put into action. You have to prompt the user with some type of command in order to do this; but the question is what command?