Help me please


I'm stuck on code your own adventure 2

The error I am getting is "SyntaxError: Expected ';'

// Check if the user is ready to play!
confirm("are you ready to play?");
var age === prompt("what is your age");
if (age > 13){
    console.log("sorry, you need parental supervision");
else {
    console.log("go ahead, and have fun!");



You only need one =.

That's a really bad error message actually.


thankyou so much I have been stuck on this for days!


Days? Really? Why didn't you ask sooner?



Click the solution symbol on my post :wink:


Looks like this @sashbash ( ^.^)===~


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.