Creating Files and Subfolders in CloudCode

How do you create a new subfolder or a new file in CloudCode?

A new default template CloudCode task will have two files by default:

![Default Files](upload://bpj9AS7PCjMZ1TWYPgzWtq0JCWe.png)

To add a new file, e.g. an html file, replace index.js in the browser url to index.html

Make an edit to that file and click "Test Task", then reload the browser to see the new file in the dropdown menu:

![Newly added file](upload://4HNLH7J8WurwxlpkhxvsHSdhVFV.png)

3 Likes