A lightweight, browser-based code editor that replicates the core experience of CodePen.io. Write HTML, CSS, and JavaScript in separate panels and see your changes update in real-time. No dependencies, no setup — just open the HTML file and start coding.
- Three Editor Panels – Separate areas for HTML, CSS, and JavaScript with syntax-highlighting style and monospace fonts.
- Live Preview – See your code execute instantly in the built-in preview iframe.
- Manual Run – Click the "run" button or press
Cmd/Ctrl+Enterto refresh the preview. - Clear All – Reset all editors to empty with one click.
- Responsive Layout – Adapts to different screen sizes, from desktop to mobile.
- Self-Contained – Single HTML file with no external dependencies or CDN links.
- Download
index.htmlfrom this repository. - Open it in your browser (Chrome, Firefox, Safari, Edge).
- Start writing code in the three panels.
git clone https://github.com/yourusername/codelite-live-editor.git
cd codelite-live-editor
open index.html