i absolutely hate how the modern web just fails to load if one has javascript turned off. i, as a user, should be able to switch off javascript and have the site work exactly as it does with javascript turned on. it’s not a hard concept, people.
but you ask candidates to explain “graceful degradation” and they’ll sit and look at you with a blank stare.
Most websites out there could work fine without JavaScript. They rely on it because they can’t be bothered to be better.
What would they do instead?
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.
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
They could just add a text box that says please enable JavaScript.
https://developer.mozilla.org/en-US/docs/Glossary/Graceful_degradation
But honestly, all i ask is that buttons still work, forms get sent, if you use a more basic browser.
It is a lot simpler to just require JavaScript. It is widely supported and is default enabled on all platforms and browsers.
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. Note that as a bug.
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.”
That isn’t how it works
You are viewing a product
Sorry about your stroke
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 browsers. What could be a little JavaScript turns into a ton of write only CSS.
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.