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


#1


// 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")                                }


#2

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().


#3

sorry I will re sent it


#4

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