First Move


#1

`// 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??


#2

A post was merged into an existing topic: First Move


#3