- Fork this repo and
git clone
it down to your computer - Open index.html in your browser
- When you're finished or when time is up, push your work to your remote repo, and file a Pull Request
In script.js
, add click event handlers to the button
elements such that:
- when the
.increment
button is clicked the displayed count (thediv.count
element) increments by 1 - when the
.decrement
button is clicked the displayed count (thediv.count
element) decrements by 1