My solutions disappear. Is this right?

Hello,
I have completed many of the exercises and have the check marks on the curriculum page to prove it. However, when I open a previously completed exercise, my solution code is not there–the exercise is ready to be done again.

Is that the way it’s supposed to be? I thought I could go back and look at some of my old code. Thanks!

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 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.

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.

Thanks for your quick and detailed response!
I had to laugh (at myself) when I read “FCC does not store every solution to every challenge in its database.”
Right.
Of course.
I guess I forgot to think that one through :slight_smile:

It used to… back when we were just a few thousand strong. Of course, we also used to be able to have a single, coherent conversation on Slack. Every time we figure out how to handle our current size, we get much bigger. A good problem to have, I suppose. :slight_smile: