Hello everyone,
First of all, my apologies for my English, because this is not my mother tongue. I’ll try to do my best :)
I'm a beginner with javascript.
I have multiple box on a page. Each box can be colored by « swiping » it (from the left to the right). The important things are that the box should not move when « swiping »and it shoult be togglable.
I successfully made an example with one box (you can see my pen). What i try to achieve is having multiple colored box instead of only one. Each box can be modified independently. But i can't figure out how to do this.
(P.S i try to use only vanilla javascript).
Do you have an idea to solve this problem?
Thank you ?