Creating Randomness Without Math.random
Explores how to generate random numbers in JavaScript without Math.random(), covering PRNGs, seeding, and deterministic use cases.
Explores how to generate random numbers in JavaScript without Math.random(), covering PRNGs, seeding, and deterministic use cases.
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.
Explains three methods to check if a variable is an array in JavaScript: Array.isArray(), instanceof, and Object.prototype.toString.call().
Overview of new WKWebView features in iOS 14, including JavaScript sandboxing, async JS calls, text find, PDF creation, and zoom.
Explains how DocumentFragment improves DOM manipulation performance by reducing reflows, with code examples.
Explains how to polyfill the Fetch API for older browsers and Node.js, covering polyfills vs. transpilers and Babel configuration.
A tutorial on extracting CSS translateX, translateY, and translateZ values from computed transform matrices using JavaScript.
A guide explaining how to access screen, browser window, and web page dimensions using JavaScript properties.
The author argues against using heavy JavaScript frameworks like Gatsby for blogs, advocating for simpler static site generators like Eleventy for better performance.
HASH is a free online platform for creating JavaScript simulations to model and understand complex real-world systems.
Lessons from refactoring a large JavaScript codebase to use optional chaining, including patterns to search for and pitfalls to avoid.
Explains why using window.addEventListener('load') is better than window.onload in JavaScript to avoid overwriting event handlers.
A developer shares personal preferences and best practices for working with JavaScript array methods, focusing on immutability and readability.
Explains three methods to check for property/key existence in JavaScript objects: hasOwnProperty(), the 'in' operator, and comparing with undefined.
Explains the difference between the Rest and Spread operators in JavaScript ES6, covering syntax and practical use cases.