Answer the question
In order to leave comments, you need to log in
How to change classes on click and return everything back when you repeat?
Need a pure JS solution.
I did the following https://jsfiddle.net/am0qj4y9/
I don't understand why it doesn't work.
TypeError: Cannot read property 'addEventListener' of undefined
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question