Is there something wrong?


#1

"Are you ready to play?";
confirm(" I am ready to play!");
var age = prompt("What's your age");
if(age < 13)
{
console.log("You're allowed to play but I take no responsibility");
}
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?")


#2

This is just a value might want to wrap it in a confirm statement:

confirm("Are you ready to play?");

For the rest I give the question back to you is there anything wrong? Is there an error message? Aren't you allowed to go on? What makes you think there is something wrong with it? At first glance the syntax seems to be ok. So maybe add some more information why you think there could be something wrong.