Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 390 Bytes

README.md

File metadata and controls

6 lines (6 loc) · 390 Bytes

On-and-Off-Switch

  1. Make a button switch. It should be labelled as "TURN OFF"
  2. Use DOM Manipulation to change the content to "TURN ON" when the button is clicked.
  3. Change the content to "TURN OFF" when the button is clicked again.
  4. (OPTIONAL) Change the style of the button when it is turned on.
  5. (CHALLENGE) Add a bulb image which toggles on and off when the button is clicked.