Maybe we could tone down the JavaScript

Doing mostly JavaScript stuff it might sound weird to some that I wholeheartedly agree with this piece:

I’m not saying that genuine web apps like Google Maps shouldn’t exist […] I’m saying that something has gone very wrong when basic features that already work in plain HTML suddenly no longer work without JavaScript.

JavaScript is great, but use it as an enhancement. Don’t ignore the basic components of the web:

  • A link should be a link (<a>), not a <div>/<span> that you bind some JS on to make it link to someplace;
  • Don’t build an empty page that does an XHR request on load to fetch the page contents, but – here’s a thought – send the contents of the page as HTML to the client;

Like Jeremy did over at The Session, for example.

Maybe we could tone down the JavaScript →

Published by Bramus!

Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.