Answer the question
In order to leave comments, you need to log in
How to make different blocks appear on click?
I implemented a click, but only the same block appears,
I need different ones to appear (for example, when you click on 1 - red, on 2 - yellow, etc.), and everything else disappears from the page
, please help me finish
https:/ /codepen.io/loozmax/pen/ExVRaew?editors=0110
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