Skip to content

Prachi24599/code-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐ CodeBox ⭐

Codebox is a code editor inspired by CodePen, where you can write and preview HTML, CSS, and JavaScript code in real-time. It is built using React and utilizes CodeMirror as the editor component. CodeBox also provides a live preview functionality, allowing you to instantly see the output of your code as you type.

image

📌 Features

  • Real-time code editing and preview.
  • Support for HTML, CSS, and JavaScript.
  • Code syntax highlighting for improved readability.
  • A user-friendly interface for a smooth coding experience.

📌 Demo

Link to Live Demo 🚀

📌 Installation

Follow these steps to get the project up and running on your local machine:

  1. Clone the repository: git clone https://github.com/Prachi24599/code-box.git
  2. Navigate to the project directory: `cd code-box
  3. Install the dependencies: npm install
  4. Start the development server: npm start

📌 Usage

  1. After starting the development server, open your browser and go to http://localhost:3000.
  2. You will see the Codebox interface with three sections for HTML, CSS, and JavaScript.
  3. Write your code in the respective sections.
  4. The preview of the output will be shown in real-time on the bottom side.

📌 Contributing

We welcome contributions to improve Codebox. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push the changes to your forked repository: git push origin feature/your-feature
  5. Create a pull request to the main repository.

📌 License

MIT License

📌 Acknowledgements

  • CodeMirror - A versatile text editor implemented in JavaScript for the browser.
  • React - A JavaScript library for building user interfaces.

📌 Contact

If you have any questions or feedback, feel free to reach out:

Happy coding!

About

A useful and liberating online code editor for developers community for testing and showcasing user-created HTML, CSS and JavaScript code snippets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors