Help! I don't know what I did wrong!


SyntaxError: Unexpected keyword 'else'

confirm("I am ready to play!");
var age = prompt("What's your age");

if (age < 13);
        console.log("they're allowed to play but you take no responsibility.");
        console.log("play on!");


your problem is you have way to many semi-colons. Get rid of them and you should be able to pass.


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