I am stuck at code your adventure (older than 13 yrs??)
it says:- SyntaxError: Unexpected token else
confirm("I am ready to play!");
var age=prompt("What's your age");
console.log("you may play at your own risk");
console.log("enjoy the game!!");
Please tell me the solution to this problem. Correct my program and put the answer in the answer section.