Stuck?


#1

This is what i typed i keeps saying what did I do wrong : SyntaxError: missing ) after argument list

// Check if the user is ready to play!
confirm("Are you ready to play, click ok to proceed");
var age = prompt("Whats your age");
if (age <13)
{
console.log("you are allowed to play but be careful");
}
else;
{
console.log("You're way too old comrade Get a job!"!);
}


#2

Hey @swiftnovaxg ! You have two problems:

First: misusued semicolon after else:

Your Code:

Correct Code:

else{

2nd: Missued Ex;amation point at end

Your Code:

Correct Code:
console.log("You're way too old comrade Get a job!");

If that didnthelp please replyy saying so. Thank you! Cheers