sluong90 / Applied-DOM

Additional Apply Bind Call Exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applied DOM

Additional Apply Bind Call Exercises

Exercise

  1. fork and clone this repo
  2. run command npm install to get dependencies
  3. open the project in your code editor
  4. follow the instructions detailed in each comment block found in file: ./js/app.js
  5. run the command npm start to start your server
  6. open your browser to http://localhost:8080
  7. your goal is to write click event handlers for each blue button, that when triggered, will turn it's "light" color from red to green
  8. commit after each button successfully turns it's light color to green

Notes

The red lights will not turn green until you start adding event listeners. Do at least the first 3 instruction blocks before testing any buttons.

You will know a button should do something when you add an event handler to it.

About

Additional Apply Bind Call Exercises


Languages

Language:JavaScript 51.3%Language:HTML 38.6%Language:CSS 10.1%