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.
Live demo: https://editor.codeeverywhere.ca
Github: https://github.com/codeeverywhereca/codeeditor
Fully open source - MIT License