How can I add the same javascript effect to different elements in my html?
I am quite new to coding, and I started doing it for a neocities website, in which I added a rainbow glow text effect, but now I want other elements to have the same effect and whenever I try copying it, it just applies it to the first one. Is there any way in which I can have the same effect for multiple elements?