Solutions not saving

Solutions not saving
0

#1

I complete the challenges and when I go back to look at them on the curriculum page, the code is the starter code.

Logged in and out, the ticks remain to show I have completed them, but no solutions.


#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

Just for anyone who might read, I’m just downloading my solutions for now, the above are not working for me.


#4

I noticed the same thing. My solutions from the Old FCC are still saved, such as “Hello” in the very first lesson. But, lessons completed today, are not. The explanation above makes sense.

Thank you @ArielLeslie for the suggestion of repl.it and the GitHub account. GitHub and I are not good friends but now is a good time as any to get good.

Should I make a commit after every exercise?