Code your own game i am stuck in the exersise 2 pls help


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


What's with all the spaces? We need to know what you're having trouble with to help. What error is it throwing? From what I can read you at the very least have a ' in your code that shouldn't be. And what is conform()? I think you might mean confirm().


sorry I will re sent it


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