A simple, modern, and responsive online code compiler for HTML, CSS, and JavaScript. Write your code on the left, click Run to see the output on the right, and easily toggle between dark and light themes.
- Live Preview: Write HTML, CSS, and JS in one editor and instantly preview the result.
- Split Screen: Editor (left) and output (right) each take 50% of the screen.
- Run Button: Renders your code in the output window.
- Reset Button: Clears both the editor and the output window.
- Theme Switcher: Toggle between dark and light mode (default: dark) with a button in the header.
- Responsive Design: Works on both desktop and mobile devices.
- No Dependencies: Pure HTML, CSS, and vanilla JavaScript—no frameworks required.
- Download or Clone the Repository
git clone https://github.com/saurabhkhandare/v1-compiler.git
- Open
index.htmlin your web browser.
- Write or paste your HTML/CSS/JS code in the left editor.
- Click Run to view the output on the right.
- Click Reset to clear the editor and output.
- Use the theme button (top right) to switch between dark and light themes.
- Theme Injection: The app injects the correct background and text color into your code’s output, so the output always matches the selected theme.
- No Backend: All logic runs in the browser; no server needed.
- On smaller screens, the layout stacks vertically for easy mobile use.
Made with ❤️ by Saurabh Khandare
MIT