I have been using FCC to learn front end design and recently all the solutions to my challenges have disappeared. I use Safari Version 11.1.2 (13605.3.8) as my main browser and I can still see in setting that all cache, cookies and internal storage are active with FCC.
There’s no problem with your browser or operating system.
FreeCodeCamp changed and now it’s not storing solutions.
The best solution is to save them right after finishing the challenge by clicking on download solution which appears in that beautiful green window informing users of their accomplishment.
There are two different types of saved progress for Free Code Camp: 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 growing user base several times that size, FCC does not store every solution to every challenge in its database. When you complete a challenge, there is a popup that gives you the option to download your solution. This gives you the option to save 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. Because FCC rolled out a completely new application, the old cached values are no longer valid. This is the same effect you would have if you cleared your browser cache. If you are completing lessons and do not see your recent code, then 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.
This is a good opportunity to learn the ins and outs of your GitHub account, but you can also just save locally or use a service like repl.it which allows for versioning.
Can you explain how to parse the downloaded JSON solution file? It’s not a user-friendly format if people expect to view their downloaded solutions. A “View your downloaded solution” challenge could be fun though
@ArielLeslie Is there a way for someone who solved the challenge prior to this change to restore the challenge solution?
I remember that I have solved the challenge called Steamroller.t the time there were only 3 certificates (today they are known as legacy certificates), and now when I visit the challenge, my solution is not there. I know that I didn’t want to download the solution, because I thought it would be on the site, and I would be able to download it eventually.
I can’t remeber if we were asked if we want to download all our solutions at the moment this change of policy happened? Thank you in advance
They aren’t saved anywhere, so there is nowhere to restore it from. FCC has over 1,400 lessons and millions of visitors every month and they cannot store that much data (especially on their tiny budget).