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 check the size of a gzipped file

Gzipping means compressing a file on your server and sending it down the wire in the compressed .gzip format. The browser then unzips it and serves the uncompressed file on the fly. As Chris Ferdinandi says, it reduces the size of your files by, on average, 70 percent. That’s huge!

Rethinking DRY (Don't Repeat Yourself)

I recently discovered MaintainableCSS by Adam Silver, and it’s changed my view of what it means for code to be DRY (Don’t Repeat Yourself). Adam is a fantastic developer, by the way—definitely check him out!

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.