Im not sure what im doing wrong it keeps saying syntyx error


#1

confirm("are you ready for this?");
var age = prompt("what's your age");
if(age is less then 13)
{
console.log("great")
}
else
{
console.log("nice!")
}


#2

age is less then 13

Remember back to Algebra, the less than sign, or greater than sign? "<" or ">". It actually wants you to use one of those signs, and not the words.


#3

You need to change "if(age is less then 13)" to "if(age < 13)"