Syntax Errors? Help!


#1

confirm("Are you ready? Click OK!!")
var age = promt("What's your age?");
if(age is less than 13);
{
console.log("You can play, but I take no responsibility for your decisions in the game")
}
else
{
console.log("Good Luck! Hope you win!!! :D")
}

I dont get why it wont let me continue? help please


#2

this:

is not how you write a comparison in javascript. If you do not remember how to write this if condition, go back getting started with programming to check how you write a comparison