Building Websites With Lots of Little HTML Pages

Jim Nielsen, a blogger, recently revamped his site’s design and shared an interesting approach he discovered called “Lots of Little HTML Pages” (LLMS). Instead of building complex web interactions with JavaScript on top of existing pages, Jim found that creating separate small HTML pages for each desired functionality linked together via CSS view transitions offered better results.

Cross-document view transitions are gaining popularity due to their widespread support, making this method more feasible than ever before. By shifting his focus from building progressive enhancements with JavaScript within a single page to constructing two distinct HTML pages and linking them seamlessly, Jim found the process less cumbersome overall.

He showcases two examples illustrating how effective this approach can be: filtering content on his homepage and implementing navigation menus without using traditional JS-powered interactions. The results impressed him as they felt more intuitive than their JavaScript counterparts while requiring significantly less effort to implement.

Jim concludes by emphasizing that although there are some tradeoffs involved, he believes this method leverages the web’s inherent nature better and makes building simple websites much easier due to its simplicity in both creation and maintenance aspects.

Complete Article after the Jump: Here!