JS Old enough to play?


#1

here it is :grinning:
// Check if the user is ready to play!
confirm("I understand confirm!");
confirm("I am ready to play!");
var age = prompt("What's your age?");
if(age is less than 13) {
console.log("You can play,but I take no responsibility!");
} else {
console.log("Go ahead! You'll play very good!");
}


#2

This is not code.
It should be

(age < 13)

#3

I've changed it, but it didn't work