Notes
Notes and write-ups.
- Bootstrap 5 Toasts: Stacking, Autohide, and Undo
September 10, 2026
How to go from one static toast to a real notification system — dynamically created toasts, stacking, and actionable undo toasts.
- Javascript
- Bootstrap
- Bootstrap 5 Form Validation: Beyond the Submit Button
September 10, 2026
The `was-validated` recipe from the docs, why it only checks on submit, and how to validate live and across fields with setCustomValidity.
- Javascript
- Bootstrap
- JavaScript addEventListener, Beyond the Basics
September 4, 2026
The third argument nobody reads: capture, once, passive, and signal, plus delegation and removeEventListener gotchas.
- Javascript
- JavaScript Classes, Explained
August 29, 2026
Classes in JavaScript are syntax sugar over prototypes — here is how they work, and where the sugar leaks.
- Javascript
- A Practical Guide to JavaScript Array Methods
August 28, 2026
A tour of the most useful Array.prototype methods in JavaScript, grouped by what they do: searching, transforming, checking, ordering, and combining.
- Javascript
- Arrays
- One Bootstrap 5 Modal, Many Contents: Using relatedTarget
August 27, 2026
How to reuse a single Bootstrap 5 modal for different content, driven by data attributes, a JS object, or JSON.
- Javascript
- Bootstrap
- JavaScript Set
August 26, 2026
The Set object lets you store unique values of any type and offers a cleaner, faster way to handle uniqueness than arrays.
- Javascript
- Data Structures
- JavaScript Promises
August 26, 2026
A complete guide to JavaScript Promises, from the basics of then/catch to newer additions like Promise.any, Promise.withResolvers, and Promise.try.
- Javascript
- Async
- Semantic HTML and Accessibility Basics
August 25, 2026
Most accessibility work is just choosing the right element instead of reaching for a div.
- HTML
- Accessibility
- MDX Posts Are Now Supported
August 25, 2026
Posts can mix Markdown with real React components, not just static prose.
- Markdown
- Debounce and Throttle
August 24, 2026
Two small functions that stop event handlers from running wild.
- Javascript
- CSS Grid vs Flexbox
August 23, 2026
Two layout tools that solve different problems. Here is how to pick the right one.
- CSS
- A Practical Guide to the Fetch API
August 22, 2026
Making requests, handling errors properly, and cancelling requests with AbortController.
- Javascript
- Web
- CSS Custom Properties
August 20, 2026
CSS variables let you name a value once and reuse it everywhere — including at runtime.
- CSS
- Getting Started with TypeScript Generics
August 19, 2026
Generics let you write one function that stays type-safe across every type you call it with.
- TypeScript
- Understanding JavaScript Closures
August 18, 2026
A closure is just a function that remembers the scope it was created in — here is why that matters.
- Javascript
- Markdown Cheatsheet for Developers
August 17, 2026
The syntax you actually use day to day — headings, code, tables, and the GitHub-flavored extras.
- Markdown
- Understanding the Node.js Event Loop
August 16, 2026
Why Node.js can handle thousands of connections on a single thread, and what runs when.
- Node.js
- Array Reduce
July 15, 2025
The Array.reduce() method in JavaScript is a versatile and powerful tool for transforming an array into a single value.
- Javascript
- Arrays
- Array map
July 15, 2025
The Array.map() method in JavaScript is a powerful tool for transforming arrays
- Javascript
- Arrays
- Array filter
July 15, 2025
The Array.filter() method in JavaScript is a powerful and concise way to create a new array containing only the elements that meet specific criteria.
- Javascript
- Arrays