Can I use internal JavaScript to cycle through elements of an SVG, adding and removing a class?
I have an SVG image of a selection widget with left and right arrows and a rectangle showing the selected number/color (see code snippet below). I want to make this SVG image interactive, so the viewer can click the arrows…