Learn how to create an accordion (collapsible content).
You can read more about how to create it in this link: https://www.w3schools.com/howto/howto_js_accordion.asp
You can try it yourself in this link: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion