re: A JavaScript-Free Frontend VIEW POST


Great write-up. I'm a big fan of HTML-first dev. There's a million and one things that can be done before needing to add JavaScript to the mix. My personal fav (after the use of :checked for modal interfaces) is (ab)using :target to make a SPA. Also, I love using css data- attribute matching to make a search box filter a list of results without JavaScript.

The only glaringly obvious thing that was missing from your write-up was the use of the HTML5 manifest caching option to help make your app work offline, and not need any downloads after the initial download. PWA eat your heart out!


Hi. I've read your comment. You mention using data- attribute to make a search box filter without JS. Where could I find an example of that technique? Thx

code of conduct - report abuse