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 I built a random quotes app with vanilla JavaScript

My third challenge for the Vanilla JS Academy was to build a random quotes app using an API. Let’s look at how I approached the task.

The nullish coalescing operator in JavaScript

Let’s take a look at the nullish coalescing operator (??) in JavaScript. At the time of writing, it works in the latest versions of Chrome, Firefox, and Edge. It’s still a bit shaky for cross-browser stability, though, so please think twice about using it in a production environment.

How to check if every item in an array meets a condition

In vanilla JS, you might want to run some code only if every item in an array meets a condition. Let’s look at how you can do just that using the native Array.every() method!