Why isn't this working for number 2?


#1

confirm("I am ready to play!");
var age = prompt ("What's your age?");
if (age < 13);
{
console.log ("You are allowed to play, but we take no responsibility for your actions")
}
else
{
console.log ("Enjoy the game!")
}


#2

no semicolon at the end of the line