Building websites with lots of little HTML pages
Published on: 2025-06-16 17:25:35
And by LLMS I mean: (L)ots of (L)ittle ht(M)l page(S).
I recently shipped some updates to my blog. Through the design/development process, I had some insights which made me question my knee-jerk reaction to building pieces of a page as JS-powered interactions on top of the existing document.
With cross-document view transitions getting broader and broader support, I’m realizing that building in-page, progressively-enhanced interactions is more work than simply building two HTML pages and linking them.
I’m calling this approach “lots of little HTML pages” in my head. As I find myself trying to build progressively-enhanced features with JavaScript — like a fly-out navigation menu, or an on-page search, or filtering content — I stop and ask myself: “Can I build this as a separate HTML page triggered by a link, rather than JavaScript-injected content built from a button?”
I kinda love the results. I build separate, small HTML pages for each “interaction” I want, then I let CSS transiti
... Read full article.