Found answer, no need to look at this


#1

// Check if the user is ready to play!
confirm("I am ready to play!")
var age = prompt("Whats your age?");
if (age < 13)
{
confirm("Your allowed to play, but we take no responsibility");
}
else
{
console.log("Get ready to play!");
}
//Start of 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?'");
//User Answer
var userAnswer = prompt("Do you want to race Bieber on stage?");
if (userAnswer === yes)
{
console.log("You and Beiber start racing. It's neck and neck! You win by a shoelace!");
}
else
{
console.log("Oh no! Bieber shakes his head and sings 'i set a pace, so i can race without pacing.'");

}