Get the latest tech news

Building websites with lots of little HTML pages


Writing about the big beautiful mess that is making things for the world wide web.

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. I build separate, small HTML pages for each “interaction” I want, then I let CSS transitions take over and I get something that feels better than its JS counterpart for way less work. What I thought was going to be “stick a bunch of<li> s in the DOM, and show hide some based on the current filter” turned into lots of data-x attributes, per-list sorting logic, etc.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Websites

Websites

Photo of lots

lots

Photo of pages

pages

Related news:

News photo

Cyberattacks Keep Knocking Websites Like X Offline, Despite Known Fixes

News photo

Apple Adds Disclosure About Delayed Siri Features to iPhone 16 Pages

News photo

"Test your adblocker" websites can harm users and the adblocker ecosystem