Old enough to play. 2



Can't find the errors in my code.

var age = prompt("What's your age");
if(age < 13);
console.log("If you play it is your owne responsibility")}
console.log("rook wat je wilt")}

Thanks for the help.


Check your if, else statement blocks,see if you have maybe something extra after the brackets :relaxed:


:kissing_heart: thanks


I'm on code your own adventure 2. Old enough to play. It keeps saying syntax error.In the little box it says SyntaxError: missing ) after argument list. Here is my code.

// Check if the user is ready to play!
confirm("Are you ready to play!");
var age = prompt("What's your age?");
if(age < 13) {

console.log(You are allowed to play but I take no responsibility for your actions.);

} else {

console.log("You are ready to play!");