Old enough to play? cant find out error :(


// Check if the user is ready to play!
confirm("Are you ready to play?");
var age = prompt("What's your age?");
if ( age < 10)
{ console.log ("You're allowed to play but I take no responsibility"); }
 { console.log ("Play on!"); }


it says that i didnt check for the user's age which i did.. unless im missing something


the exercise wants you to check for the age, which is specified in the instruction (which is 13 year, not 10)


thank you! lol it wasn't very specific on which age it wanted.


step 3 of the instructions:
Then write an if/else statement. If age is less than 13, use console.log

In which way, is this not specific?


//Could you help me with my code. The problem says to be that prompt is not a function
confirm("Ready to play");
var age = prompt("What's your age");

if (age > 13)
console.log("hey're allowed to play but you take no responsibility.");
console.log("You are huge lets play");


seems you hit a glitch, try a different browser. Your code is fine


Dude Same problem with me.


if you want someone to help you, please create your own topic with full code + error message + question