Have you ever tried building a modern page without JavaScript.
You can do a lot of things with HTML5 and CSS. It just is very complicated and painful. It isn’t intuitive and the behavior will vary across browser.
Comment on nobody in webdev knows what graceful degradation is anymore
bjoern_tantau@swg-empire.de 2 months agoMost websites out there could work fine without JavaScript. They rely on it because they can’t be bothered to be better.
Have you ever tried building a modern page without JavaScript.
You can do a lot of things with HTML5 and CSS. It just is very complicated and painful. It isn’t intuitive and the behavior will vary across browser.
Yes, that’s my job.
The point isn’t to emulate the JavaScript functionality somehow. The point is to simply fetch the desired information as a new page load when necessary. The page should work in lynx.
sure, it’s painful and pointless to build a fucking virtual machine without JS, but you can do 95% of normal website things with pretty bog standard HTML+CSS these days. You don’t even have to fiddle about to do pretty complex things, that’s just built-in most of the time.
rigatti@lemmy.world 2 months ago
What would they do instead?
ackthxbye@feddit.org 2 months ago
How about serving a proper HTML that contains the data they want to display? Instead of an empty page that tries to load the data via JavaScript.
chunes@lemmy.world 2 months ago
I miss when JS was just a silly thing you could use to add trails to the mouse cursor to impress anyone who stumbled onto your geocities page
possiblylinux127@lemmy.zip 2 months ago
They could just add a text box that says please enable JavaScript.
MonkderVierte@lemmy.zip 2 months ago
developer.mozilla.org/…/Graceful_degradation
possiblylinux127@lemmy.zip 2 months ago
It is a lot simpler to just require JavaScript. It is widely supported and is default enabled on all platforms and browsers.
MonkderVierte@lemmy.zip 2 months ago
Sending forms is a built-in functionality and you say it’s simpler to hack your way around it.
I mean, sure, if your framework does it this way. But it shouldn’t.
SpaceNoodle@lemmy.world 2 months ago
When I ask a server for a page, it should give me content, not a shitty script and a note that says “here, you do it.”
possiblylinux127@lemmy.zip 2 months ago
That isn’t how it works
SpaceNoodle@lemmy.world 2 months ago
Sorry about your stroke