JavaScript Events Coding Exercise | SheCodes

JavaScript Events Exercise

Instructions
  • After the user clicks on the Apply now button
  • Ask for the person’s first name
  • Ask for the person’s age
  • If 18 or more, change the h1 to  “Hi, {Name}! Welcome to SheCodes !”
  • Otherwise change the h1 to  “Sorry, {Name}! You cannot join SheCodes ”