you can wrap everything in your `aside` with a `details` tag to make it collapsible if its too large. you can make it open by default by adding the `open` attribute.
···106106107107### Sidebar
108108109109-Optionally, you can add a sidebar to your page for pretty much anything you'd like. A good usage for this could be, for example, complex navigation on a docs website, where you wouldn't be able to fit it all into the header. The sidebar will sort normally with the rest of the content on smaller screens. To make a sidebar, place an `<aside>` tag, and then put an `<article>` inside. You must put it above the `<main>` content. You can have up to two sidebars per page - the second one will appear on the right side. Here's an example:
109109+Optionally, you can add a sidebar to your page for pretty much anything you'd like. A good usage for this could be, for example, complex navigation on a docs website, where you wouldn't be able to fit it all into the header. The sidebar will sort normally with the rest of the content on smaller screens. To make a sidebar, place an `<aside>` tag, and then put an `<article>` inside. You must put it above the `<main>` content. You can have up to two sidebars per page - the second one will appear on the right side. You can also make a sidebar collapsible by wrapping it's contents in a `<details>` tag - adding the `open` attribute will make it open by default. Here's an example:
110110111111```html
112112<aside>
113113 <article>
114114- <h1>Sidebar</h1>
115115- <nav>
116116- <ul>
117117- <li><a href="https://example.com">Page 1</a></li>
118118- <li>
119119- <a href="https://example.com">Page 2</a>
120120- <ul>
121121- <li><a href="https://example.com">Page 2.1</a></li>
122122- <li><a href="https://example.com">Page 2.2</a></li>
123123- </ul>
124124- </li>
125125- <li><a href="https://example.com">Page 3</a></li>
126126- <li><a href="https://example.com">Page 4</a></li>
127127- </ul>
128128- </nav>
114114+ <details open>
115115+ <summary>Sidebar</summary>
116116+ <nav>
117117+ <ul>
118118+ <li><a href="https://example.com">Page 1</a></li>
119119+ <li>
120120+ <a href="https://example.com">Page 2</a>
121121+ <ul>
122122+ <li><a href="https://example.com">Page 2.1</a></li>
123123+ <li><a href="https://example.com">Page 2.2</a></li>
124124+ </ul>
125125+ </li>
126126+ <li><a href="https://example.com">Page 3</a></li>
127127+ <li><a href="https://example.com">Page 4</a></li>
128128+ </ul>
129129+ </nav>
130130+ </details>
129131 </article>
130132</aside>
131133```