2. Old Enough to Play?


can you please help me solve this section?
I'm not sure what I'm doing wrong.
Thank you!

var age = prompt("What's your age");

if (age is less than 13)
console.log ("We don't take any responsibility")

else {
console.log ("Play on!")


im stuck on the same one :frowning:


You gotta turn your "less than" phrase into an actual sign, or the computer is not gonna read it. Put a less than sign(<) for it. Like so:

if(age < 13) {
console.log("You can play")
else {
console.log("Play at own risk")

@majestic_panda23 You may this find this information useful, if you are still stuck on the same one.


thank you so much!!!!


Like stated above you need actual comparasion signs! I suggest you re-cap that lesson or write them down, FYI when you need to compare something it read signs only