How do I add files to Codepen?

#Creating and Uploading Files Give the file a name and file extension in the yellow text field. To create a file inside a specific directory, click the directory first, then click the “New File” button . Drag and drop individual files into the Project Root, or into directories within the project.

Read more