How to create your own CodePen clone with vanilla JavaScript
I’m working on a new project-based JavaScript course for beginners and aspiring developers.
In addition to a ton of projects, I wanted to include little mini-challenges with each lesson. And to do that, I want to include a code sandbox (like CodePen) right in the tutorial.
Rather than loading buckets of React like most libraries for this require, I decided to build my own. Let’s look at how!
An example challenge For example, imagine that you’ve just learned about the Array.