Oops Try Again you didn't check for the users age


#1


confirm("I am ready to play!");
var age = prompt("What's your age?");
if(age<15)
{
    console.log("We're not responsible for you");
}
else 
{
    console.log("Have fun playing");
}


#2

The instructions specifically want you to check for less than 13 years of age.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.