There was a problem with your syntax


#1

confirm("Are you ready?");
var age= prompt("What's your age");
if (age < 13);
{
console.log("You allowed to play but it's your responsability");
}
else
{
console.log("Lets go have some fun!");
}

I don't get why my code is not working!!
Some help? Thank's


#2

on this line

if (age < 13);
{

take out the semicolon after the closing parenthesis making it this

if (age < 13)
{