#4/7


#1

IF YOU NEED HELP HERE IS THE CODE

confirm ("Are you ready to play?");
var age = prompt ("How old are you?");
if (age<18)
{
console.log("You are allowed to play but we take no responsibility.");
}
else
{
console.log("Go ahead! 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

confirm("Lets do this!");

var age=prompt("17");

console.log(age);

if(age < 13)
{
console.log("allowed to play but you take no responsibility");
}

else
{
console.log("go ahead have fun");
}

.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?")

//this is how my code is set up and it still says i have a syntax error


#3

i think you miss ';' at the end of your lines, is it ?


#4

nvm one of my console.log was messed up