I can't figure out what I did wrong! Help!


#1



https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/2?curriculum_id=506324b3a7dffd00020bf661


Syntax Error: Unexpected token )


Replace this line with your code. 
confirm("I am ready to play");

var age = prompt("What's your age"?);

if (age < 13) {
   console.log("You're allowed to play but, I take no responsibility for your actions!")
} 
else {
   console.log("Get ready to play");
    
}


#2

On this line. try to go back on the second instruction.

02. Make age equal to prompt("What's your age");


#3

Got it!! Thanks for your help!:).


#4

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