joea.dev

Articles

A collection of articles I've written for various publications across the web.

Featured
freeCodeCamp

How JavaScript Promises Work - Handbook for Beginners

Many operations, such as network requests, are asynchronous in nature. One of the most useful and powerful tools for working with asynchronous code is the Promise. In this handbook, you'll learn all about JavaScript Promises and how to use them.

JavaScript
Read
LogRocket

How and when to use JavaScript arrow functions

Arrow functions have a simpler syntax than standard functions, and there are some important differences in how they behave.

JavaScript
Read
LogRocket

Working with URLs in JavaScript

Break down the parts of a URL and explore APIs for working with them in JavaScript, parsing them, building query strings, checking their validity, etc.

JavaScript
Read
LogRocket

Patterns for efficient DOM manipulation with vanilla JavaScript

Explore DOM manipulation patterns in JavaScript, such as choosing the right querySelector, caching elements, improving event handling, and more.

JavaScript
Read
LogRocket

Using the ScrollTimeline API for scroll-linked animations

CSS scrollTimeline introduces a new way to add scroll-linked animations to your webpage. Use and compare it to the Web Animations API here.

CSS JavaScript
Read
freeCodeCamp

How to Center Text Vertically with CSS

In this article, you'll learn a couple of ways to vertically center your text inside a div or other element.

CSS
Read
freeCodeCamp

How to Build Your First Web Component

In 2023, browser support for web components (also known as custom elements) is really good. There's never been a better time to start building your own custom elements.

Web Components JavaScript
Read
LogRocket

Top 5 Web APIs for performance-based analysis (and how to use them)

Learn about five web performance APIs, which have full browser support and offer many ways for you to measure your apps' performance.

JavaScript
Read
LogRocket

Understanding TypeScript's benefits and pitfalls

If you haven't taken up TypeScript yet, now's the time! Start here by learning how TypeScript can benefit your project, and what to be wary of.

TypeScript
Read
LogRocket

12 essential ESLint rules for React

There are many ESLint rules for React out there — learn which ones are most useful in this post, which covers the twelve most essential ones.

JavaScript React
Read
LogRocket

When and how to choose HTML for form validation

Client-side form validation such as HTML5 gives users near-immediate feedback about whether or not their input data is valid.

HTML JavaScript
Read