Learn the language of the web.

Recent Post

Using Axios to make HTTP requests (GET, POST, PUT & DELETE)

Axios allows you to make HTTP requests with minimal syntax.

Print the contents of a JavaScript object to the DOM

Printing a JavaScript object to the DOM is harder than you might think.

Insert content to DOM at script tag location

Learn how to get and insert content to the DOM at the location of a script tag.

POST form data using JavaScript’s Fetch API

Fully control form data submission using JavaScript's Fetch API.

Emptying a JavaScript array

Emptying an array is easy, but methods vary in their impact on references made to the array in other

Find the index of an element in a JavaScript array by value

Get the index value of any element in an array by value and instance of its appearance.

HTML Table of Contents Generator

A JavaScript solution for generating a table of contents for HTML content.

Remove element from a JavaScript array by value

How to remove an element array element by value with and without mutating the original array.

ES2022: What’s new for JavaScript?

ES2022 introduces upgrades to classes, negative array indexing, top-level await in modules, and more!

Detect a user’s language preference with JavaScript

Detect and use a user's language preference to format display values.