Can you copy CodePen?

We encourage you to read that in full, but in brief, people are free to copy it and their copy can be copied as well . There are many reasons for this, one of which is that it’s kind of awesome to browse CodePen knowing everything is usable for anything you want.

Read more

How do I run code on CodePen?

By default, every time you save your project runs and automatically updates the preview. You can save and run your project by clicking the “Save All + Run” button in the header . You can also use the keyboard shortcut to save your current file (Command + S for Mac, CTRL + S for PC).

Read more

How do I add a script to CodePen?

You can add JavaScript libraries to your Pen through the JavaScript settings menu . There are two ways to access the JavaScript settings menu. For quickest access, click the gear icon in the upper left of the JS editor panel. That opens the Pen Settings menu with the JavaScript tab automatically selected.

Read more