Web fundamentals

Do I need a sitemap for my SvelteKit app, and how do I create it?

In this post, I provide an overview of when you need a sitemap, what format it should have, and explain how to create an endpoint for a sitemap in SveltKit.

Groking :active, :focus and :focus-visible pseudo-classes

This post explains the subtle differences between CSS pseudo-classes :active, :focus and :focus-visible.

How to wire up Fathom Analytics in a SvelteKit app

In this post, you will learn how to set up Fathom Analytics in a SvelteKit app to track pageviews and goals while ensuring privacy for your visitors.