/codepen-clone

Simple clone of code simulator CodePen in React

Primary LanguageJavaScript

Abstract | Concepts | How To Run | Screenshot | Improvements

CodepenClone

A simple clone of the popular code simulator Codepen. It uses the Codemirror library to create editors for HTML/XML, CSS and Javascript that can be used to write code and see it render in the main window.

The app is currently hosted at https://safe-thicket-53980.herokuapp.com (may take a few seconds to load)

Concepts

I created this app as a way to practice creating simple React apps. The concepts that I wanted to cover were

How To Run

Clone the repo and go to the directory
git@github.com:Mnargh/codepen-clone.git && cd codepen-clone

Install dependencies
npm i

Run the App on localhost:3000
npm run start

Screenshot

Dashboard

Improvements

  1. Improve the styling to make the appearance more polished e.g. animate the editor collapse and expansion.

  2. Make the page responsive for different screen sizes, devices

  3. Add ability to save and restore code between sessions if local storage is lost