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 write an IIFE from scratch

In his post The anatomy of an immediately-invoked function expression, my friend Chris Ferdinandi shows you how he writes an IIFE from scratch. Here’s another way to approach it.

Lean on HTML and CSS (but not always)

HTML and CSS are the most resilient parts of the front end, so you should always lean on them where possible. There are times, though, when you should prefer JavaScript. Here are a few examples.

Understanding client-side JavaScript frameworks

I’m incredibly vocal about my disdain for client-side JavaScript frameworks. This is because I strongly believe in Resilient Web Design and The Lean Web, and I’m passionate about A11Y. Modern JavaScript tooling tends to make these things more difficult. But I must also recognize that frameworks have their place in the right context.