Closed bhagyeshsp closed 1 week ago
The MDN example that redirects to this code uses EventListener method to detect change in select element. I learned that standard practice is using EventListener method, hence the change.
Content equivalent:
https://github.com/mdn/content/blob/fd9a16a3a56e295eb80fc24a5dbd56a842b2958e/files/en-us/learn/javascript/building_blocks/conditionals/index.md?plain=1#L127
Thank you so much @bsmth for approving and validating my understanding!
The MDN example that redirects to this code uses EventListener method to detect change in select element. I learned that standard practice is using EventListener method, hence the change.