2/7 problem with syntax


#1

// Check if the user is ready to play!
confirm("I understand confirm!");
var Age=prompt("What is your age")
if(Age<13)
console.log("You are allowed to play, but I take no responsibility");
}
else{
console.log ("Play on. You can do it.");
}

I dont see what is wrong


#2

var Age=prompt("What is your age")
if(Age<13)
console.log(...

You forgot to ";" after defining you variable 'Age' and there is a missing bracket after your "if".

var Age=prompt("What is your age");
if(Age<13){
console.log(...