Help with code


I want to know what is wrong with my code and why.

confirm ("I am ready to play!");
var age = promt("What's your age");
if (age < 13)
console.log("You're allowed to play but I take no responsibility.");
console.log("Play on!");

The error I get is: Oops, try again. Your code doesn't look quite right. Check the Hint if you need help!

Replace this line with your code.


prompt not promt :slight_smile:


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