Answer the question
In order to leave comments, you need to log in
Are there any working plugins for auto-closing JSX markup tags?
Subject. For some reason I can't find one like it.
Answer the question
In order to leave comments, you need to log in
Implemented in JS, even easier with jquery. It's simple, the block with the text below is initially hidden (display: none), when you click on "How to Redeem Code" its child is set to display:block. In jquery it's .fadeIn() , .fadeOut()
Everything is here https://api.jquery.com/
depending on the tasks, and if internet explorer support is not needed, it is possible without js - on pure html and css - there is such a details tag -
https://www.w3schools.com/tags/tryit.asp?filename=...
Here is the answer to your question
https://starper55plys.ru/css/raskryivayushhiesya-b...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question