(original write-up from late 2022, never shared it, pre vibe coding)
Over the weekend I wanted to understand how code editors work under the hood, so I built a lightweight, standalone online JavaScript editor using only HTML, CSS, and vanilla JavaScript—no libraries, no frameworks, no plugins.