How to use the json file?

How can we use the jason file, that we get for downloading our data.

Hello there,

You are free to use it in any way you wish. It is your data. The functionality is there mostly to show you what data freeCodeCamp stores for your account.

1 Like

Yes, but downloading it doesn’t mean we have the coding projects in there right?
How can we download the coding projects to upload to github?

There are two different types of saved progress for freeCodeCamp: your profile and your browser cache.

A list of your completed challenges is saved to your account in the fCC database. You can see the list of completed challenges by looking at your public portfolio. With a growing curriculum already over 1,400 lessons and a community of millions of people, fCC does not store every solution to every challenge in its database. When you complete a challenge, there is a modal that gives you the option to download your solution. This gives you the option to save a copy of any solution that you may want to reference later. There are some challenges which are classified as projects required for certifications. Your solutions to those can be viewed on your settings page.

Your in-editor code is saved in your browser’s local storage. Recent in-progress code from the challenge editor is also saved in your local browser cache when you run tests. If you are completing lessons and do not see your recent code, then your local storage has been cleared or something is preventing fCC from writing to your browser’s storage. This could be a browser setting, a privacy extension, or a browser version incompatibility. Especially as you get to more complicated challenges that may take multiple sessions, I strongly recommend saving your in-progress work outside of the browser cache.

Hope this clarifies


Ok so if we can download my solution or get a copy of the solution, can you guide me with the steps, and i will be well on my way.

The solution for what?

If I want the solution for one of my certification projects, I can go to my settings, view the code, and copy-paste it:

Otherwise, if I wanted more, I could automate it by downloading my account info (as you did), and filtering for either:
a) Specific challenge ids to get the solution or files (code)
b) Find all completedChallenges that have either a solution or files field

Hope this clarifies

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.