SyntaxError: need help


#1

I am stuck @

var age = prompt("What's your age");
If (age <= 13)
{
confirm("I am ready to play");
}
else {
confirm("I am not ready to play");
}
plz correcet me


#2

You have a capital 'I' on the if statement.

if (age <= 13)

Change ' If ' to ' if ', then should be okay.