Another John Smilga tutorial, where I learnt to create a counter and write conditions that change the color based on positive or negative numbers displayed.
Key points I learnt :
- document.querySelectorAll()
- forEach()
- addEventListener()
- currentTarget property
- classList
- textContent