Tag: Javascript

Recent Post

How to create a universally unique identifier (UUID) in JavaScript

Easily generate UUIDs in standard format using the Web Crypto API.

Frontend pagination with vanilla JavaScript

Improve efficiency by avoiding unnecessary loading with JavaScript pagination.

How to wait until an element exists in JavaScript

Wait until an element exists to do something in JavaScript using the MutationObserver API.

Emptying a JavaScript array

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

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.

Check if a value is an object in JavaScript

How to create a conditional that checks if a value is a pure object in JavaScript.

== vs === in JavaScript

Loose and strict equality operators help us test for a similarity between bits of data.

Detect an ad blocker with pure JavaScript

How to detect if a user is blocking ads using JavaScript.

A guide to manipulating the DOM like a pro with JavaScript

Memorize these techniques to manipulate the DOM like a pro!