Curriculum progress: code reset and new solutions not saving

Curriculum progress: code reset and new solutions not saving
0

#1

I initially joined when the beta was up, and hadn’t logged in since May. I was pleased to see that my progress had been (mostly) transferred to the new curriculum at learn.freecodecamp.org. I had saved all my old solutions locally in anticipation of the end of the beta, and figured I would quickly run through the challenges and read the solutions to remind myself of what I supposed to know already in order to pick up where I left off. The code from the beta wasn’t saved, which wasn’t a problem. I am still pleased that most of waypoints’ progress was noted if not the code saved. When I copy/pasted my saved solutions, the tests pass. However, when I go back to any newly-submitted waypoints, the code is still the default for the challenge (my alterations are not saving). I wiped my browser’s cache and cookies for all time, and re-logged in. Same problem. Any guidance would be appreciated.

System:
Windows 10 Pro
Firefox Quantum 62.0.2


#2

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.


#3

Thanks, Ariel. I read this before in another answer you provided, but I misread it the first time. I guess I have to find “a browser setting, a privacy extension, or a browser version incompatibility” that could explain it, although I can’t think of any.


#4

FCC also now provides a utility for saving your solutions when you submit them. If you want to ensure that a solution is preserved, this would be better than relying on your browser’s storage.


#5

I was just looking at the settings. I couldn’t find any such setting. Where is the utility? Thanks again for your help.


#6


#7

Ah, that’s what you meant. You already said that in your initial reply, so I thought you meant something different. Thanks.