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.

Resources for regular expressions

Regular expressions are powerful. But they’re fucking hard to write, and even harder to read. So I thought I’d share my favourite resources. I hope you find them helpful! ❤️

Keep it simple, stupid (KISS)!

Everyone knows the DRY acronym: “don’t repeat yourself”. But another one I try to keep in mind is KISS: “keep it simple, stupid!”

How to get the active element in DevTools

Most modern browsers have a console shorthand you can use to get the element that’s currently active in the inspector. Once you’ve highlighted an element, you can refer to it by typing $0 in the console.