Build
Vishwa lays semantic stone first: header, main, section, footer. Screen readers, search engines and every developer after you read these walls.
Frontend tales · by Dhawal Mhatre
Frontend, explained through the world of Domlok
Every character is a frontend concept and every villain is a bug you have already met. Anime energy, Indian and Japanese myth, and lessons from a frontend architect who has shipped since 2008.
A layered realm where every page is a kingdom. Kingdoms are built, styled and brought to life, and they are always under threat from bugs, bloat and broken experiences.
Vishwa lays semantic stone first: header, main, section, footer. Screen readers, search engines and every developer after you read these walls.
Kitsu breathes foxfire into the stone: colour, type, spacing, layout. The structure stays the same and the kingdom gets a face.
Raiden wires it with events. Buttons answer, cards react, the nav responds, and the kingdom wakes up.
Then the guardians take over. Sanjaya keeps it readable for everyone, Vayu keeps it light and fast, and Chitragupta keeps a record of every change to its state.
The cast · eight heroes, eight elements
Each guardian owns one part of the frontend and carries one of the elements. Learn the character and you remember the concept.
The Architect · Mentor
“Frameworks rise and fall.
Principles stay.”
A veteran who has guarded Domlok since the Age of jQuery and survived the IE6 wars. Calm, dry-humoured, and he speaks in principles, not hype. Five motes of the elements orbit his staff.
The Apprentice
“Why can’t I just use !important?”
Eager, impatient and sometimes reckless. Kai asks the questions you are thinking and makes the classic mistakes on screen so you don’t have to.
HTML · Semantics
“A button is a<button>.
Not a<div>.”
A stoic builder who hates div soup. He stands on cracked stone and builds kingdoms that last, one meaningful element at a time.
CSS · Layout
“Same markup.
Watch me change its face.”
A playful illusionist and master of appearances. Her foxfire burns blue at the core, and flexbox and grid bend to her will.
JavaScript · Events
“Click. Fire. Handle.
Faster than you can blink.”
Fast, powerful and a little chaotic. Raiden lives on events, and when he strikes, the page comes alive.
Accessibility
“If it can’t be heard,
it isn’t finished.”
The original screen reader. Eyes closed, he describes the world for those who can’t see it. Sound travels through akasha.
Performance
“Every kilobyte is weight
your users carry.”
Light as the wind and obsessed with speed. Vayu judges every request, every image and every dependency you add.
State management
“Nothing changes
without a record.”
A meticulous scribe with one source of truth for every action. A stream of water flows from his ledger, and every change is written down.
The villains · recurring bugs
The Callback Hydra grows two heads for every one you cut. Nest another callback and watch the code drift right. Then tame it the way Acharya teaches in Episode 01, and earn seal 01 of 24.
Kai: “Easy. I’ll just nest another callback!”
The yokai who spills water when it bows. It leaks memory through listeners and timers nobody removed.
Beaten by cleanup: remove listeners, clear timers.
Play Episode 07: Drain the PondThe serpent eating its own tail. A render that sets state, which triggers a render, which sets state.
Beaten by stable dependencies and derived state.
Play Episode 22: Break the OuroborosMakes the ground jump under your users’ feet just as they tap. Also known as layout shift.
Beaten by reserving space: width, height, aspect-ratio.
Grows bigger with every dependency added for one small function. Your users download all of it.
Beaten by audits, tree-shaking and code-splitting.
Play Episode 20: Shrink the AsuraLatest episodes · 24 so far
Each episode is one bug, one fight and one rule you keep. Every episode has a game: win it to earn the guide’s seal.
All 24 episodesWhy Kai’s Saved toast is silent for screen reader users, and how Sanjaya makes it speak with a role="status" live region that is there from page load.
Why won’t Kai’s sign-up form autofill? Vishwa gives every field a label, a name, the right type and an autocomplete token.
Why Kai’s search page fetches forever after one visit, and how Chitragupta breaks the useEffect infinite loop with steady dependencies.
Acharya’s Rule
Acharya Kōdo has guarded Domlok since the Age of jQuery. He has watched frameworks rise and fall, and every episode ends with one rule that outlives them all.