Having troble with this one, thanks in advance :) (Old enough to play?)


// Check if the user is ready to play!
confirm("I am ready to play!");
var age = prompt("What's your age");
if (age > 13);
(console.log You're allowed to play but i can take no responsibility for the content!);
(console.log Go ahead and play until your hearts content!!!!);


now it checks if age is more then 13, you should check if it is less


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