I guess it was not meant to be used, we were just showing off how cool is that you can even do this with JS events
All you have to do is use a For loop and replace this code:
With this:
And then you can use as many instances as you want, it is going to change the image for all of them.
Here is the project:
https://gofile.io/d/yHx9ML