Please help me! Why wont it work?????
Where's your code? We can't help unless you provide some code.
How do I do that? Im sorry I don't know how to do this.. But I really want to!
/ confirm("Are you ready to play?");
var age = prompt("How old are you?");
if (age is less than 13)
console.log("BE AWARE. WE ARE NOT RESPONSIBLE FOR ANY COMPLAINTS.");
console.log("We hope that you enjoy your stay...Because you will be staying here for a while...");
(does this help?)
You need to use comparison operators.
age < 13
thanks! And the confirm thing was supposed to be like : //confirm
Do I still remove it?
You can't just type "is less than". You have to type the actual symbol for it.