Note: This was a project done as part of a Udemy Course. I wrote the JavaScript myself, but was given the HTML and CSS starter files.
- Targeting elements
- Changing the classes of the elements (using the classList property and add, remove, and toggle methods on it)
- Changing text content of the elements
- Changing attributes of elements
- Adding event listeners to DOM elements for "click" event
- Working with event handler functions
- Declaring/defining variable containing empty array
- Accessing elements in the array
- Changing value of elements in the array