Stuck On #2 Old enough To play


#1

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");
}


#2

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...


#3

Thanks That Did the trick! -CarterTheBoss


#4

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