Hi, I'm having issues with Events.
I have a simple form with a few checkboxes, and a 'select-all' button at the top.
I want to know, If inputs are checked, or not.
For that, I have one eventListener that checks for 'change' inside inputs. For now it just shows text in console based on the input's status.
I also have second eventListener, for button, that listens for 'clicks'. When button in clicked, then all inputs toggle between 'checked' status.
But after selecting this button, nothing shows up in a console from 'change' event.
How can I make it to listen for changes that occurs after button is clicked too?
Here is an example of logic that I am trying to use.
https://codepen.io/blberrysmoothie/pen/JjmWNeN