NaN or Not a Number?
Explains JavaScript's NaN (Not a Number), the behavior of isNaN() vs Number.isNaN(), and how to correctly filter numeric data.
Explains JavaScript's NaN (Not a Number), the behavior of isNaN() vs Number.isNaN(), and how to correctly filter numeric data.
Explains how to correctly handle null, undefined, and zero values in JavaScript, covering falsy checks and the nullish coalescing operator.
A technical guide on converting HTML definition lists (<dl>) to fieldset elements (<fieldset>) using JavaScript for consistent note styling in Markdown.
Analyzes biases in developer surveys and data sources like State of JS, npm trends, and Stack Overflow to understand true developer sentiment.
Argues for migrating from Node.js Buffer to Uint8Array for better compatibility, security, and modern JavaScript practices.
A developer's technical build log for creating 'Thirteen Potions', a JavaScript game for the js13kGames competition using Phaser.
Introduces a lightweight HTML article format for web content, detailing how to implement it with R, Quarto, or other tools.
A guide on learning software development effectively, covering language choice, early practice with simple challenges, and building a todo app.
A tutorial on implementing tabbed interfaces (tabsets) in web pages using vanilla JavaScript and CSS, with support for Markdown and HTML.
A developer reflects on a decade-old JavaScript code snippet for toggling R code blocks, comparing jQuery to modern vanilla JS methods like querySelectorAll.
Explains the JavaScript Nullish Coalescing Operator (??), its syntax, and how it provides default values for null/undefined variables.
How to fix an undefined import error when calling an API at runtime in an Astro component by moving the import into the script tag.
Explores reactivity patterns in vanilla JavaScript, comparing them to frameworks like Vue and discussing when to use each approach.
Announcing zlFetch's support for FormData and its utilities for converting FormData to objects and query strings.
A guide explaining how the JavaScript modulo operator works, including its practical use case for creating circular arrays.
A guide explaining four different methods to create and work with multiline strings in JavaScript, including template literals and concatenation.
A developer recreates a research project using wireless earbuds' microphones to detect facial touch gestures and control UIs via machine learning in JavaScript.
A developer's pragmatic take on choosing between JavaScript and TypeScript for different project stages, based on personal experience with two large frontend projects.
A developer's critique of TypeScript, arguing its type system can stifle creativity and innovation by making it harder to express functionality than to define types.
Updates to the zlFetch library, a wrapper for the Fetch API, including error handling improvements, debug mode, and instance creation.