← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 120
  1. Git: Recovering When You Branched From the Wrong Branch

    A practical walkthrough for when you realise your feature branch was created from the wrong base, covering git log, merge parents, cherry-pick, and bypassing commit hooks.

  2. CSS Anchor Positioning: Scoping, Implicit Anchors, and Conditional Hiding

    Manage anchor relationships with anchor-scope, leverage the Popover API's implicit anchors, and hide positioned elements gracefully with position-visibility.

  3. Mocking Browser Image Loading in Vitest: Property Descriptors, Prototypes, and WeakMap

    A deep dive into the JavaScript concepts behind mocking HTMLImageElement behaviour in Vitest, including Object.defineProperty, Object.getOwnPropertyDescriptor, prototype manipulation, and WeakMap for per-instance state tracking.

  4. Part 3: Running an AI Agent Implementation Planning Session

    How to structure an AI agent session with sequential tasks, review checkpoints, and explicit deliverables—turning a handoff document into actionable state machines, gap reports, and implementation plans.

  5. Part 2: Organising Reference Materials for AI Agent Sessions

    How to structure a self-contained folder of specifications, screenshots, and Figma links that an AI agent can reference throughout an implementation planning session.

  6. Part 1: Structuring Feature Specifications for AI Agents

    How to structure a handoff document that enables AI agents to perform gap analysis and implementation planning—with traceable acceptance criteria, UI state inventories, and explicit business logic.

  7. Safely Selecting Elements with Special Characters Using CSS.escape()

    Learn how to safely select DOM elements with special characters in their IDs or classes using CSS.escape() to avoid selector parsing errors.

  8. Dynamically enable and disable map scroll wheel zoom with Leaflet.js

    Learn how to programmatically require the presence of a modifier key to enable scroll wheel zoom support in Leaflet maps.

  9. Using TypeScript Triple-Slash Directives with JSDoc

    How to use TypeScript’s triple-slash reference directives to load type definitions when type-checking JavaScript with JSDoc.

  10. Simplify Command-Line Argument Parsing with Node.js util.parseArgs()

    Learn how to use Node.js util.parseArgs() to simplify command-line argument parsing in your Node.js CLI utilities.

  11. Fast Mocked Responses in Playwright Getting You Down? Deferred Promises to the Rescue

    How to use deferred promises to control mock response timing in Playwright tests and avoid race conditions with instant responses.

  12. Preventing Common Issues When Working with AI-Generated Code

    AI coding agents have made me significantly more productive as an engineer, but they have a systematic problem: as context fills, they drift from explicit guidance and violate documented patterns.

  13. Type Safety and Runtime Validation in JavaScript with Zod and JSDoc

    Combining Zod's runtime validation with JSDoc's type annotations to achieve type safety in JavaScript without TypeScript.

  14. Exporting Algolia Indices to JSON: Skip the Custom Scripts

    Export your Algolia search indices to JSON without building custom export scripts using the Algolia CLI.

  15. CSS Anchor Positioning Fallbacks: What to Do When Things Don't Fit

    Build resilient anchor-positioned layouts that adapt when space runs out.

  16. Code Reviewing AI-Generated JavaScript: What I Found

    What I learned reviewing AI-generated JavaScript: real-world issues, code review tips, and ways to ensure robust, production-ready code.

  17. Style Details Content with ::details-content

    Learn how to use the new CSS ::details-content pseudo-element to style the content area of HTML details elements with greater control and flexibility.

  18. What AI Agents Get Wrong About VRT, And How to Fix It

    Exploring common misconceptions AI agents have about Visual Regression Testing and practical solutions to address them.

  19. Precise Positioning with CSS Anchor Functions: anchor(), anchor-center, and anchor-size()

    Take your anchor positioning beyond the grid with functions that give you pixel-level control over placement and sizing.

  20. Getting Started with CSS Anchor Positioning: anchor-name, position-anchor, and position-area

    Discover how CSS anchor positioning brings native support for positioning elements relative to each other — no JavaScript required.

  21. Opening and Closing Dialogs Without JavaScript Using HTML Invoker Commands

    Learn how to use HTML invoker commands to open and close dialogs without writing any JavaScript.

  22. What if...

    What if we embraced authenticity, take creative risks, and live deliberately without fear of judgment - a reflection on finding freedom through self-acceptance in both personal and technical pursuits.

  23. CSS Transforms and the Matrix

    A deep dive into the CSS transform matrix, how it relates to the individual CSS transform properties, a look at the hidden powers of the function forms, and a dragon or two.

  24. Building a Profile Page with HTML and CSS: A form, A Dialog, and Netlify

    In this part, we will add a form to our profile page, use a dialog to display our form, deploy our page using Netlify, and set up Netlify to handle form submissions.

  25. Curiosity, Collaboration, and Innovation At Any Scale

    Harness the power of open source and an innovative culture to drive creativity and collaboration within your team—inspired by Mozilla, GitHub, OddBird, Igalia, and Factorial.

  26. Building a Profile Page with HTML and CSS: Responsive, Favicon, Open Graph

    In part five of the series, we will complete our layout, add a favicon, and set up Open Graph meta tags for social sharing.

  27. What is WCAG? - A Brief Overview

    Learn about WCAG (Web Content Accessibility Guidelines), including WCAG 2.2 principles, conformance levels, and upcoming WCAG 3 changes, plus insights on accessibility certification value.

  28. The HTML Dialog Element: A Native Solution for Accessible Modal Interactions

    Learn how to use the HTML dialog element to create accessible modal dialogs for your web sites and applications.

  29. Join me on my journey as I prepare for the IAAP Web Accessibility Specialist (WAS) certification, sharing weekly insights, resources, and study plans.

  30. Building a Profile Page with HTML and CSS: Refactor, Custom Properties, LinkTree

    In part four of the series, we will do some refactoring of our CSS so that we take advantage of CSS custom properties.

  31. Understanding local() in @font-face: A Deep Dive

    Learn how to build a responsive profile page with modern typography, media queries, and CSS Grid.

  32. Building a Profile Page with HTML and CSS: Typography And Getting Responsive

    Learn how to build a responsive profile page with modern typography, media queries, and CSS Grid.

  33. The Hidden Costs of Creativity in Tech: A Personal Reflection

    The financial pressures of modern life can make it hard to justify creative pursuits that don't promise immediate returns.

  34. Building a Profile Page with HTML and CSS: Implementation

    In this post we will start implementing the design by working through some of the issues, learning more about Git and GitHub, get set up for development, create our first visual component, and learn about performance, CSS, and modern image formats.

  35. Building a Profile Page with HTML and CSS: Planning

    In this part of the series we will break down the design into components using Atomic Design, set up our repository on GitHub, and create the issues we will need to work on.

  36. Introducing Project Calavera: Your Universal Project Configuration Assistant

    Meet Project Calavera, a new open-source CLI tool that makes project configuration setup a breeze, especially for developers working outside the familiar framework ecosystems.

  37. Using npm link for Local Package Development

    Learn how to use npm link to test your NPM packages locally before publishing to the registry.

  38. Exploring the Role of AI in Self-Reflection and Emotional Growth

    This personal reflection explores how AI chatbots can support emotional growth and self-discovery, offering insights on using AI as a thoughtful companion while acknowledging its limitations compared to human connection and professional therapy.

  39. Announcing Minimalist: A Minimal Modern CSS Library for Most Web Projects

    Introducing Minimalist, a modern, lightweight, and customizable CSS library designed to provide a solid foundation for styling websites and web applications.

  40. CSS translate, scale, and rotate have a new home and it’s splendid! Come on in.

    Unlock simpler web development with CSS's new individual transform properties—cleaner syntax, more intuitive styling, and delightful animations.

  41. Raise The Red Flag Early: The Power of Explicit Return Types in TypeScript

    Learn how explicit return types in TypeScript can help you catch potential bugs early, improve code reliability, and create more predictable and maintainable TypeScript applications.

  42. Watched It - The Good, The Bad, and The Web Components - Zach Leatherman

    My takeaways from Zach Leatherman's talk on web components at the 2023 JSHeroes conference.

  43. When Claude does not get your git

    Why you should be careful copying and pasting proposed solutions from LLMs.

  44. What we lose at the gates

    Perhaps it is the social bubble I find myself in, but it seems there is a lot of talk about gatekeeping happening at the moment.

  45. How do you use git rebase? Let's go through one use case

    Git rebase is a powerful tool that allows developers to reorganize and clean up their commit history, such as by squashing or fixup-ing multiple commits into a single commit, which can be useful when submitting pull requests.

  46. 10 Top accessibility errors and how to avoid and fix them

    In late December of 2023, TPGi posted its list of the top accessibility errors found through its ARC automation tools in 2023.

  47. Number and Currency Formatting in JavaScript using Intl.NumberFormat

    While this post does not by any means aim to cover all the amazing things you can do with Intl.NumberFormat, I do cover two very common use cases you may have faced when formatting numbers in JavaScript.

  48. 21 Pieces Of Unsolicited Advice For Junior Web Developers

    In this post, I share 21 pieces of unsolicited advice for junior web developers.

  49. Why I Care Deeply About Web Accessibility And You Should Too

    In this post, I discuss why I care deeply about web accessibility, emphasizing its importance in ensuring equal access for people with disabilities and removing barriers to interaction with websites and applications.

  50. Why Do I Love Open Source?

    In this post I share how open source empowers me as a developer, fosters community collaboration, and provides a platform for making a meaningful impact.