Latest Posts

I write about front-end web development. I'm inspired by Nathan Barry's motto, teach everything you know. I also take a lot of inspiration from my friend and mentor, Chris Ferdinandi.

How to build a JavaScript clock

Last week, my friend Chris Ferdinandi wrote a fantastic post about creating a clock with vanilla JS. I want to show you how to do the same thing with Reef, the wonderful anti-framework he created and maintains. It’s a simple alternative to modern JavaScript frameworks like React and Vue.

The description list element (<dl>)

You probably know about the ordered and unordered list elements. But do you know about the description list element? I've known about it for a while, but I only had cause to use it for the first time yesterday.

The difference between pseudo-classes and pseudo-elements

Pseudo-classes and pseudo-elements are highly useful features of CSS. But what’s the difference? Are the terms interchangeable? And should you use one colon or two? Let’s dig into this.