Image for post
Image for post

As a whole, web development has a real problem with honesty and rational thought. There’s a lot of pedantic nonsense promoted as good practice, based entirely in manufactured “truths” that aren’t based in any way, shape, or form in reality.

One such bald faced lie is the idea that the “universal selector” — a lone asterisk — is slow, confusing, difficult to understand, and I’ve even seen a few people call it outright evil. To be brutally frank, what a load of malarkey. Actually, I have stronger words for it, but I’m trying to behave here.

I recently added this to my…


Image for post
Image for post

This time around we have a quickie. Just a tiny snippet of JavaScript I’ve been using more and more to improve site usability.

HTML 5’s <time> tag is one of the better additions to the language. In a sea of pointless redundancies and concepts that undo two decades of progress, it’s one of the few shining gems.

Most important is the inclusion of the datetime attribute, which lets you state a proper full time for machine parsing, whilst the content can be more “user friendly”.

But wouldn’t it be nice if we could make it so that the contents of said tag was automatically adjusted to the user’s local time? Without them having to make an account or declare what that local time is? …


This is a follow-up to my previous article “Scalable Styled Checkboxes Using Just CSS

Image for post
Image for post

I am often amazed at the flaming hoops of fire people will use to accomplish the simplest of things. Styling the HTML <input> tag when it’s a checkbox or a radio button definitely qualifies for this.

This is particularly true of the people who throw around the word “component” … you know the types; React/Vue fanboys who aren’t qualified to even write HTML in the first place. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store