The Folio

Zero JavaScript, and what it costs

Your Name

The usual way to hide a menu behind a button is a script. The usual cost is that the menu is gone when the script is gone, and with it every link on the page.

So the menu here is a list of links that wraps. It is not hidden, so there is nothing to reveal, and there is nothing to fail.

What is left to do with CSS

Layout is pure CSS: a grid that reflows, a reading measure, a dark mode that follows the system. Where a script would have measured the screen, auto-fill and minmax() do it, and they stay correct when the reader zooms text.

What is genuinely lost

Search. A search index is data plus code that queries it, and there is no honest way to do that without JavaScript. The feed and the contents lists cover navigation instead.