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.

The difference between <em> and <i>

The <em> and <i> elements might seem similar, but they’re intended for very different purposes indeed. It’s important that you use the right one for the right context. We call this semantic markup.

How I built a random quotes app with vanilla JavaScript

My third challenge for the Vanilla JS Academy was to build a random quotes app using an API. Let’s look at how I approached the task.

The nullish coalescing operator in JavaScript

Let’s take a look at the nullish coalescing operator (??) in JavaScript. At the time of writing, it works in the latest versions of Chrome, Firefox, and Edge. It’s still a bit shaky for cross-browser stability, though, so please think twice about using it in a production environment.