How do I run CodePen files?

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 you make a CodePen project?

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

Can you use code on CodePen?

The gist of it is open source. Anyone can use the code you put on CodePen for whatever they wish – but if they do – that code also must have this same license . This is to encourage open sharing of code. Remember that any code you post on CodePen should be compatible with this license or it is subject to removal.

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