Hi all,
I'm a beginner (french, sry for my english), and I'm looking for help to move forward on my project.
I would like to make a series of clickable buttons, which would change color when clicked.
I used images for this (3 versions, depending on the state) and tried to code something.
It almost works but when I click 4 times on my button the initial state disappears. The button remains clickable all the same and the cycle continues but the initial state is no longer displayed.
an idea?
there may also be a different way of doing things from the one I used because I'm going to need 26 buttons on the same page, and the same on about ten pages 26 buttons / page that would keep the state they were in given.
TY if you understand me
I am attaching an example of how I would like to put my buttons, as well as their three states.