I keep getting the error that I haven't confirmed the user's age but a box pops up asking me the user to type in their age and I get it to print to the console.
This is what my code looks like:confirm ("I am ready to play")
var age = prompt("What's your age?")
console.log("You need a parent's permission!");
console.log("Enjoy the game!");
Can someone help me figure this out please?