Don’t use JavaScript to compose pages

Internet

Screenshot from The Nationals website

Unless the purpose of your site is to be an Ajax application, regardless of whether you're using it to dynamically load in comments on pages from services such as Disqus, or your own comment systems on sites such as Lifehacker, or for some reason static text and images, using JavaScript to compose pages is just a dumb thing to do.

I linked to The Nationals (an Australian political party) for a joke on a previous post and noticed this garbled mess of text and images along with an appropriate image of an irritated kid, presumably because he's just as unimpressed as I am and feels bad being associated with such a page! I shouldn't have to re-enable JavaScript just to read a static web page.

Friends, don't let your web designer friends use JavaScript to compose pages!

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.