Tag: Vanilla JS
-
I Built a Cultural RPG in a Single HTML File — Here’s What Broke
A developer devlog on building cultural RPG, a browser-based Malaysian multicultural RPG — covering canvas HiDPI scaling, replacing emoji with vector graphics, NPC dialogue, localStorage saves, and every bug that nearly broke it.
-
The ResizeObserver API: A Practical Guide for Frontend Developers
What is the ResizeObserver API and how do you use it? A practical guide covering borderBoxSize, contentBoxSize, inlineSize, blockSize, observing multiple elements, and real-world use cases — with a live interactive demo.
