Can't find solutions to any of my completed challenges?

Can't find solutions to any of my completed challenges?
0

#1

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.

So, I am not sure what the problem is and would appreciate any help.

Thanks.


#2

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.


#3

Thanks for your reply. Does that mean I have no access whatsoever to any of my solutions? I really don’t want to start from the very start.


#4

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.


#5

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 :wink:


#6

@Feldbot Why not just copy and paste your final solution into a file on your local machine if you want to save it?


#7

It just so happens that there is a great free resource that will teach you how to do things like parse JSON files. :wink: