Of course it depends, like all things. But in my mind, there’s a few select, very specific types of pages that wouldn’t require at least a bit of JavaScript these days. Very static, non-changing, non-interactive. Even email could work/has worked with HTML only. But the experience is severely limited and reduced, of course.
Comment on The sheer amount of websites that are completely unusable without JavaScript
MotoAsh@lemmy.world 3 days agoEhhhhh itvkinda’ depends. Most things that are merely changing how something already present onvthe page is displayed? Probably don’t need JS. Doing something cool based on the submit or response of a form being submitted? Probably don’t need JS. Changing something dynamically based off of what the user is doing? Might not need JS!
Need to do some computation off of the response of said form and change a bunch of the page? You probably need JS. Need to support older browsers simply doing all of the previously described things? Probably need JS.
It really, really depends on what needs to happen and why.
victorz@lemmy.world 3 days ago
Witchfire@lemmy.world 3 days ago
Virtually any form validation besides the basics HTML provides is enough to require JS, and input validation (paired with server-side validation ofc) saves both user frustration and bandwidth