array.sort() Does Not Simply Sort Numbers in JavaScript
Explains why JavaScript's array.sort() doesn't sort numbers numerically by default and how to fix it using a comparator function.
Explains why JavaScript's array.sort() doesn't sort numbers numerically by default and how to fix it using a comparator function.
A beginner's guide to becoming a frontend web developer, covering essential tools and languages like HTML, CSS, JavaScript, and React.
A curated list of useful NPM packages for productivity, covering frontend/backend frameworks, styling, and utilities for Node.js developers.
An overview of the React ecosystem in 2021, covering hooks, libraries, and best practices for developers.
Practical advice for new developers on building strong foundations, continuous learning, and overcoming imposter syndrome.
Monthly update on godocs.io launch, SourceHut dark theme, and API 2.0 work for sr.ht services, plus minor project improvements.
Introduces JavaScript's new array.at(index) method, highlighting its ability to access array elements using negative indices.
Explains numeronyms (like a11y) and provides a JavaScript function to create them, including an interactive bookmarklet.
A comprehensive guide to essential JavaScript development tools including Node, Babel, ESLint, CSS pre-processors, TypeScript, and bundlers.
Introducing EZComponent, an open-source frontend framework that simplifies building with Web Components, featuring a streamlined workflow and built-in reactivity.
Explains the technical distinction between DOM nodes and elements in web development, detailing node types and their hierarchy.
A team's journey migrating from Flow to TypeScript for better type safety and maintainability in their React/JavaScript frontend codebase.
Explains how to implement JavaScript's map() function recursively, detailing the logic and base case for recursion.
A developer shares custom JavaScript utilities for converting between common text cases like camelCase, kebab-case, and Title Case without external libraries.
Explains why immediately resolved Promise callbacks execute before setTimeout(callback, 0) due to JavaScript's microtask (job) queue vs. macrotask queue.
An overview of essential client-side JavaScript browser APIs, including navigator, window, customElements, document, and localStorage.
Explains the benefits and usage of Top-Level Await in JavaScript, comparing it to older IIFE patterns and detailing browser/Node.js requirements.
Explains a JavaScript pattern for properties with dynamic defaults that become writable after being explicitly set.
Explains JavaScript callback functions, including synchronous and asynchronous types, with practical examples for developers.
Explores psychological principles for improving user experience during web waits, suggesting alternatives to traditional loading spinners.