Skip to content

saurabhkhandare/v1-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Online Code Compiler

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.


✨ Features

  • 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.

🚀 Getting Started

  1. Download or Clone the Repository

git clone https://github.com/saurabhkhandare/v1-compiler.git

  1. Open index.html in your web browser.

🕹️ Usage

  • 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.

🛠️ How It Works

  • 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.

📱 Responsive Design

  • On smaller screens, the layout stacks vertically for easy mobile use.

👤 Author

Made with ❤️ by Saurabh Khandare


📄 License

MIT


About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages