A blog about coding, art and design

Hi, this is my little part of the internet where I collect information about what I learn and what I find interesting.

Posts

Making long tests more readable with function composition

Making long tests more readable with function composition

Writing Expressive Tests with Gherkin and Vitest in TypeScript

Learn how to write clear, behaviour-driven tests using Gherkin syntax with Vitest and TypeScript, enhanced by AI-powered coding assistance.

How AI assistants have changed the way we search the internet

From Google's multi-tab searches to conversational AI assistants like Perplexity and Cursor, artificial intelligence has vastly transformed the way we find and interact with information online.

Diff notation test with Shiki

Testing Shiki diff notation transformer plugin

Schema validation in TypeScript

Implement TypeScript friendly schema validation easily with Zod

CSS glowing borders on hover

A bit of arsing about with CSS to make a button glow on hover using CSS custom properties and keyframes

CSS relative colour syntax

Exploring new proposal for adapting colours based on another colour's channels and values

Code input web component

PIN or code input boxes (like you see when logging into PayPal, etc.), a way of doing it with a single input but appears to have 6 separate inputs

Web components

A paddle in the shallows of web components, a deeper dive to come later

Making links more accessible

Making links more accessible for screen readers