← #71 Quick query elements in the Console
#72

Pure collapsible element

Topics: HTML

We can create an expandable element with pure HTML tags as following:

<details>
<summary>Title</summary>
<!--
The hidden content that will be shown when
clicking the `summary` tag.
-->

</details>

I often use the tags when including a long error log on GitHub:

<details>
<summary>Error log</summary>
<pre><code><!-- Full log here --></code></pre>
</details>

Demo

TLDR
TLDR stands for "too long, don't read". But it's too short, isn't it?
A question?
The answer is hidden initially
Fix a typo or suggest an improvement
#73 Always put the footer at the bottom