JB game #4


#1

confirm("Are you ready to play?")
var age = prompt("What's your age?")
if(age < 13)
{
console.log("they're allowed to play but i take no respondsibliy")
}
else(age > 13)
{
console.log("Have a wonderful adventure!")
}
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")
console.log("Suddenly, Beiber stops and says, 'Who wants to race me?'")
var userAnswer = prompt("Do you want to race Beiber on stage?")
what is wrong with this keeps saying I haven't console.log the suddenly beiber stops, when I obviously have.. please help


#2

make sure you're adding semi-colons " ; " at the end of each line of code. If you have two lines of code right next to eachother and they don't have a semi-colon at the end of their lines then it could make your code malfunction.