How to create automatic spoilers?

0 like 0 dislike
3 views
Hi tell me please example of automatic spoilers, that would be when you have the same spoiler the other closed if opened.

It would be nice if they worked on click on the bottom paragraph on the link to open/close.

Example: a short paragraph with an initial text, and that would all need to read and click "open" to close click "close" and the link "open" of the next paragraph.
by | 3 views

3 Answers

0 like 0 dislike
How to create automatic spoilers?

To study js -> write.
If you have a specific question, please ask. Or do You expect someone to roll out a code? Poyuzat search, there are already a bunch of ready-made solutions:
\rhttps://www.google.com/search?q=js+accordion&oq=Oy...
\rhttps://codepen.io/search/pens?q=accordeon&page=1&...
by
0 like 0 dislike
by
0 like 0 dislike
https://www.youtube.com/watch?v=RIKFFcQaOro here's what you need, as an example, looks very good
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked May 21, 2019 by f4tality
110,608 questions
257,186 answers
0 comments
33,949 users