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 npm and npx

If you’re a typical front-end developer, you’ll work with npm a lot. But I’m not a typical front-end developer. I avoid npm as much as I possibly can because I hate how fragile it is. As such, I never found out what npx is.

The console.table() method in JavaScript

Ah, debugging… Something we all have to do! You’re undoubtedly familiar with the console.log() method. But did you know you can get much prettier output using the console.table() method?

Boolean attributes in HTML

In HTML, some special attributes are called boolean attributes. They’re unique because it’s the mere presence of the attribute that matters. If the attribute is present, it’s considered truthy, regardless of its value. If it’s omitted altogether, it’s considered falsy. Some examples are required, disabled, and hidden.