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 multi-line editor in Firefox DevTools

When you just want to test out some code, it can be annoying to keep logging everything to the console. Thankfully, the Firefox DevTools come equipped with a handy multi-line editor!

The JSON viewer in Firefox

At the time of writing, Chrome doesn’t have a native way to view JSON data in a pretty format. You have to install a third-party extension like JSONView. But Firefox, my browser of choice, has its own JSON viewer baked in!

Name your variables explicitly

It’s a good idea to name things explicitly in any programming language—not just JavaScript. It can make the difference between code that’s easy to follow versus a complete clusterfuck.