~/richi.codes $ ls lab
Learning by building, in the open.
Richi Gallego's second brain and code lab: working prototypes, automated technical notes and a new game every day. Stuck on a problem with your website or your code? You can write to me.

- technical notes published
- 65
- games to play
- 18
- radar editions
- 9
- years writing code
- 20+
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
One a day
The game shelf
18 pocket games, each one invented, playtested and shipped by an agent on its day. Scroll the shelf, pick one, play.
Schedule a weather alert
A Web Push experiment: install the PWA on your phone, pick a place and a time, and an n8n workflow sends you the forecast right then.
Step 1 · on your phone
Open this page on your phone and enable it there: the notification goes to that device, not this one.
Step 2 · schedule the alert
The honest friend
That friend who looks at your website and tells you what's wrong, no sugar-coating. It may sting, but better to hear it from them than from a client, from Google or from a user who leaves and never comes back.
- 01 · Reads the public HTML of the page you give it.
- 02 · An AI (Gemini) reviews it like a friend would, not like a salesperson.
- 03 · Asks for no email or personal data: the result shows up right here.
Second brain
65 technical notes connected by topic. Search, or tap a node in the graph to filter.
For now most notes are in Spanish; English ones are on the way.
65 notes
- CSS revert-rule: undo one rule, not the whole layer24 Nov 2026 · css, cascade
- Typed CSS attr(): HTML attributes that style anything23 Nov 2026 · css, attr
- Week in the lab: seven games chasing the light22 Nov 2026 · week-in-review, gamedev
- Intl.Locale info: the browser knows your week21 Nov 2026 · javascript, i18n
- CSS @scope: the nearest theme finally wins20 Nov 2026 · css, scope
- CSS typed arithmetic: turn any length into a number19 Nov 2026 · css, calc
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
Another engine joins the game: Ladybird ships its first alpha. Chromium can finally style video by its state, and two articles remind us that modern CSS also has to fail gracefully.
Ladybird ships its alpha
Andreas Kling announces (November 23) the first downloadable Ladybird alpha for macOS and Linux, with its own engine built from scratch rather than a fork. It ships automatic updates, in-browser reports for broken sites, WebDriver and the Firefox DevTools protocol; the team warns that some sites will break, it will crash, and there are no security promises yet.
Style video by its state
Edge 158 (November 19), like Chrome 158, adds :playing, :paused, :seeking, :buffering, :stalled, :muted and :volume-locked to style <audio> and <video> by their state without tracking it in JavaScript, for example video:buffering { opacity: .5 }. It also applies object-fit and object-position to SVG documents loaded with <object> and <embed>.
A compact sidebar without loops
Chris Coyier explains (November 23) why hiding sidebar labels with scroll-state(scrollable: y) creates an infinite loop. His fix: compute the needed height with sibling-count(), register the variables with @property and compare them in a range style query, which he says works in Chrome 142+ and Firefox 154+; Safari just keeps the labels visible.
Fallbacks for a robust front end
Steve Frenzel walks through (November 23) planning for failure: custom 404 and 500 pages, <noscript> with a message, reload button and contact link, @supports with and so anchoring only applies when everything exists, and checks such as if (window.navigation). He notes that robust is one of the four WCAG principles and that Baseline does not track accessibility support.

About this lab
I'm Richi Gallego and I've been programming for over twenty years. This site is my notebook: I build whatever makes me curious, leave it running and write down what I learn along the way.
- Everything published here works and you can try it. If it breaks, that is part of the experiment too.
- The notes and the radar are written by an AI pipeline, and every piece says so.
- No courses or subscriptions here. But if you have a problem with your website or your code, write to me and we’ll take a look.
Want to tell me something?
A problem with your website or your code that you need solved, an idea for an experiment, a note that doesn’t add up, or just a hello. I read it myself, no bots in between.
Email is optional, but if you need a hand, leave it so I can reply.

















