Image filter basic
- Select all images with
querySelectorAll()
- Loop over the selected NodeList and add event listeners to every image:
- Add the (embedded CSS) class
.grayscale
when entering the image - Remove the (embedded CSS) class
.grayscale
when leaving the image
- Add the (embedded CSS) class