Additional Apply Bind Call Exercises
- fork and clone this repo
- run command
npm install
to get dependencies - open the project in your code editor
- follow the instructions detailed in each comment block found in file:
./js/app.js
- run the command
npm start
to start your server - open your browser to
http://localhost:8080
- 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
- commit after each button successfully turns it's light color to green
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.