DEV Community

loading...

Discussion on: Why your website should work without JavaScript.

Collapse
unsungnovelty profile image
Nikhil • Edited

I too am that 1%. We might be a minority but I hate it when the websites don't work without javascript. Especially if it is your personal website (this is a personal opinion and you can ignore :) ).

While I understand JavaScript have it's genuine use cases, dumping JS like we are doing now is not very great for privacy, security, accessibility and climate!

Every unnecessary computation is bad for climate. Performance not only equals better UX anymore, it means less emissions and better climate. websitecarbon.com is something I recently discovered which roughly calculates the carbon emission of a website.

While websitecarbon.com shouldn't be used as a strict benchmark, it definitely raises the question on how to create less emissions for websites? The answer most often than not is definitely using HTML and CSS without JS unless and until really necessary.

Forem Open with the Forem app