Code ur own adventure


#1


pls help each time its different errors now it shows syntxerror 

here is my code 

// conform ("are you ready?"); 
  var age = prompt ("whats ur age");  if (age === 13) confirm ("time to get started") }   else  {  console.log ("sorry u cant play") }


#2

you missed opening bracket
if (age === 13) // here need a { bracket

and change from=== to ==

from glossary-javascript(codecademy)


#3

Check my comments and @rcodeman's advice


#4

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