Answer the question
In order to leave comments, you need to log in
How to hide one block but open another?
There was a problem. How can I make it so that when you click on one block, a list appears (I know how to do this), but when you click on another, this text and the list hide and open the elements of the second block, and so on. You open one, the contents of the other are hidden. Help me please.
Here is an example of what I already did: https://jsfiddle.net/6sn6hry1/6/
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