DEV Community

Discussion on: Why your website should work without JavaScript.

shadowfaxrodeo profile image
Nathaniel Author

Sure, I just mean to say that if js isn't availble you can always use the native html forms to send and receive data. It just requires a page load.

There are other hacky ways of doing a fetch without a refresh or navigating to a new page. I actually sent you the wrong link before, I can't find a live version of the one I meant to send: Github - CSS only chat

...but that's a deliberately ridiculous example.

In reality there are times you just can't do without javascript. In those times, you should have a reasonable fallback. For example, Google Sheets, doesn't work without js. But, if you try to access a sheet with js switched off, you still get to see a static version of the document.

Thread Thread
alidhuniya profile image
Ali Hussain Dhuniya

thanks for the clarification