Diary · read on diary.saugatrimal.com.np
notes on building.
Things I've learned over 5+ years of frontend & WordPress work — half-baked theories, occasionally useful tutorials, and the things I reach for again and again. I write when I'm stuck, mostly so I can get unstuck.
AUG 28 · 2024
Introduction to HTML: what it is & how it works.
A from-scratch primer on HTML — tags, semantics, and the mental model that makes the rest of the web click.
8 min
MAR 06 · 2024
CSS breakpoints for responsive design.
A practical guide to choosing breakpoints — device-led vs. content-led — with the snippets I actually reach for in production.
6 min
JAN 29 · 2024
Introduction to CSS — a tutorial for beginners.
Selectors, the box model, layout. The CSS concepts I wish someone had explained in this order when I was starting out.
10 min
NOV 14 · 2023
Walk-through on my portfolio (and the choices behind it).
Why my portfolio looks the way it does, the tools I picked, and what I'd change today. A look behind the scenes.
7 min
OCT 02 · 2023
CUBE CSS — a methodology that finally clicked.
Composition, Utility, Block, Exception. Why CUBE CSS replaced my old BEM habit and made bigger codebases easier to live with.
9 min
JUL 18 · 2023
Custom WordPress themes with ACF Pro: a real-world setup.
The folder structure, partial template approach, and ACF block patterns I reach for on every client build.
12 min
MAY 05 · 2023
Headless WordPress with Next.js and WPGraphQL.
When headless makes sense, when it doesn't, and the exact wiring I use to ship a fast, editor-friendly headless build.
11 min
FEB 22 · 2023
Notes on shipping under pressure.
Things I learned the hard way while shipping client work at Swivt Technology — estimates, scope, communication, and saying no.
5 min