Github and codepen

Hi. Please how can I push my codes from codepen to github. I think that can be done since I signed up using github. Can I also download my codes from codepen to my local machine?

Down in the bottom right of your CodePen you’ll see a button that says “Export”. You can choose to export it to your GitHub as a Gist, or you can download the files as a .zip and manually upload them to a repo.

You will, however, need to make some adjustments. Your downloaded files will not have the code to link your .html to your .css and .js, and you’ll need to add the <head> element and information.

1 Like

Alright. Thank you very much.