How do I add a project to Codepen?

To make a Project available as a template, first click “Settings” to open the Project Settings menu. Then, slide the toggle switch under “Project Description” to “Template”. Finally, save your settings by clicking the green “Save and Close” button. After you do that, your Project becomes available as a template.

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

Can I copy code from 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