0

I want to know how to hide a text and to be able to display it in a click.

For example, I make a list of five continents. But I do not want to display them directly. I let appear only the title: "continent" accompanied by the symbol which indicates that the content is hidden. And that by clicking on it, the five continents are displayed and the symbol becomes.

21st Jan 2018, 2:09 AM
Vilner NOËLMÉ
Vilner NOËLMÉ - avatar
2 odpowiedzi
+ 1
Which language do you want the solution in? C++ or HTML/JS?
21st Jan 2018, 4:15 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
HTML
21st Jan 2018, 5:19 AM
Vilner NOËLMÉ
Vilner NOËLMÉ - avatar