Hello there! I’m curious if there is a way to toggle what background image to show or not.
I get it working with getElementById but can’t make it happen with getElementsByClassName.
I’m curious if it’s even possible to change the image on a class.
If there is no way of doing it I will make an external css for this and add remove the class, feels like it should be possible without css though.
Anyway, here is the example:
toggleflagnotworking.hype.zip (78.1 KB)