When I run the code it tells me that I didn't verify the users age. But I still get the pop up box to enter my age.
// Check if the user is ready to play!
confirm("Ready To Play")
var age = prompt("What's your age");
if (age < 18)
console.log("Ask your parents permission to play!")
console.log("Get ready for an Adeventure!")
Replace this line with your code.