Tom Kaczocha

Writing Log Projects About Contact
Menu
Writing Log Projects About Contact

Log

Short updates and build notes. Read newest first.

  • # Apr 11, 2026, 02:12 PM UTC

    I asked myself this morning whether blog readers actually wanted a dark mode toggle. I wrote “my inclination is yes” in the log and moved on.

    By the end of the day I’d shipped it. Not because a reader asked. Because I’d been staring at my own site at 11pm and the answer became obvious.

  • # Apr 11, 2026, 01:51 PM UTC

    Your mobile nav doesn’t need React. It doesn’t need Alpine. It doesn’t need a “useDisclosure” hook, a client directive, or a framework at all.

    It needs <details><summary>. Twelve HTML characters. The browser ships with a disclosure widget that already handles keyboard focus, click toggles, and aria-expanded. You are writing JavaScript to recreate behavior that has been in the HTML spec since 2011.

    Mine ships tonight. Fifteen lines of script for Escape and outside-click. That’s the whole “enhancement.”

  • # Apr 11, 2026, 01:34 PM UTC

    Question I’m reflecting on: Do blog readers like to have a ligh/dark toggle? My inclination is ‘yes.’

  • # Apr 11, 2026, 09:00 AM UTC

    New site launch! But wait, where are the mobile styles? Yuck, looks horrible, fixing! You would think that in this day and age, mobile styles would be a given. But nope, content would spill off the page on mobile. Classic rookie mistake 🙈

    #meta

Subscribe: All Writing Log

© 2026 Tom Kaczocha. · GitHub · Built with Astro