"In the US, time spent in browsers continues to stagnate while smartphone use grows, and the situation is even more dire outside the states."
"When browser competition is finally unlocked, and when web pages aren't bloated with half a megabyte of JavaScript (on average), we can expect a revolution. But we need to prepare for that day and do everything we can to make it possible."
https://infrequently.org/2024/10/platforms-are-competitions/
"Failure and collapse aren't pre-ordained. We can do better. We can grow the web again. But to do that, the frontend community has to decide that user experience, the web's health, and their own career prospects are more important than whatever JS-based dogma VC-backed SaaS vendors are shilling this month."
I already didn't have a ton of JS on my site (https://reillyspitzfaden.com), but I finally got something done I've been meaning to do for a while; the menus (both the dropdowns and the hamburger menu on small screens) all work with CSS only and no JS!
I originally set them up very early in my web development journey, and then didn't get around to redoing them for a while, and it's nice to finally have that figured out.
@reillypascal Nice! Always satisfying to remove unnecessary JS from a site.
You can also explore using the <details> element for dropdown menus without JS, and without the checkbox method: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
@samnabi cool! I'll give it a look