What Actually is a String in JavaScript?
Explains how JavaScript strings are sequences of UTF-16 code units, not visible characters, covering length quirks with emojis.
Explains how JavaScript strings are sequences of UTF-16 code units, not visible characters, covering length quirks with emojis.
Explains how to use the 'defer' attribute in JavaScript to optimize page load performance, with a practical example of fixing a slider.
A developer discusses overcoming the fear of writing about 'obvious' tech topics, arguing that sharing knowledge benefits everyone.
A developer shares their positive experiences with open source, from a first small contribution to learning, job opportunities, and community.
A guide to calculating the horizontal and vertical center points of a DOM element using JavaScript's getBoundingClientRect, with practical examples.
Learn 3 methods to shallow clone JavaScript objects, including object spread, object rest, and Object.assign(), with bonus tips for updating properties.
Explains how to programmatically get a list of all CSS properties and identify shorthands and their longhands using the CSS Object Model (CSS OM).
Explains the three types of polymorphism in programming (Adhoc, Parametric, Subtype) with JavaScript examples, going beyond typical OOP coverage.
A guide to checking if an array contains a value in JavaScript, covering primitive values with includes() and object search methods.
Explains how to import non-ESM JavaScript libraries (globals, CommonJS) into ES Modules for client-side use, with practical examples.
A tutorial on creating interactive 'You Draw' bar charts using the Compost.js library, inspired by NYT's data visualization style.
A beginner's guide explaining how JavaScript event delegation works, its benefits over individual listeners, and the event propagation phases.
Explores how to generate random numbers in JavaScript without Math.random(), covering PRNGs, seeding, and deterministic use cases.
Explains the differences between JavaScript string methods substr and slice, including syntax and examples.
A tutorial on using JavaScript's URL() constructor to parse components like hostname, pathname, query strings, and hash from URLs.
A step-by-step tutorial on building a bar chart from scratch using D3.js, covering core concepts like SVG, scales, and margins.
A modern JavaScript library recreating nostalgic 90s-era cursor effects like fairy dust, snowflakes, and ghost cursors with improved performance and customization.
Essential JavaScript features like closures, template literals, and destructuring that are crucial for effective React development.
Explains best practices for using arrow functions in JavaScript, focusing on handling the 'this' keyword in methods and nested functions.
Explains why using && for conditional rendering in JSX can cause bugs and recommends using ternary operators instead for clarity.