Error finding?


#1


// Check if the user is ready to play!
confirm("are you ready to begin?");
var age = prompt("What's your age");
if(age < 13);
{
    console.log("we take no responsibility to your actions based off of this game");
}
else
{
    console.log("have fun!");
}
console.log("You are at a Justin Bieber concert and you hear this lyric 'Lace my shoes off, start racing.'");


#2

Look at the this section of your code... something isn't right. Your if statement can't execute with the semicolon in it's way.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.