Syntax Error 2/7


#1

// Check if the user is ready to play!
confirm("The game is afoot");
var age = prompt("What's your age");
if(age is < 13)
{
console.log("Continue at your own risk")
}
else
{
console.log("Game on")
}


#2

try this

confirm("The game is afoot");
var age = prompt("What's your age");
if(age  < 13){ // took out the 'is' you had after age
    console.log("Continue at your own risk");
}
else{
    console.log("Game on");
}

#3

It worked.
Cheers mate