Answer the question
In order to leave comments, you need to log in
How to show several components on a click on the same button?
How to make a red div open on button click, then green div on button click, then yellow div ?
Answer the question
In order to leave comments, you need to log in
https://jsfiddle.net/d48brfLs/
If it is necessary that it is the block that changes, and not the class, then here is https://jsfiddle.net/d48brfLs/3/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question