Stuck On #2 Old enough To play


Whats Wrong with my code?

// Check if the user is ready to play!
confirm("i understand")
var age = prompt("Whats Your Age");
if (age < 5) {
prompt("Sorry You Need an parents parmission");
}else {
prompt("Ok are You Ready To play");


you need to do the instructions of the course exactly including what they show and you forgot the ? at the end of whats your age...


Thanks That Did the trick! -CarterTheBoss


your welcome! btw make my answer the solution so people know the case is closed...