Freecocdecamp site doesn't record my code

Hello,

Freecodecamp site doesn’t record my code in the local storage. If I gone to the next lesson then comeback to the previous one, my code is delet.

Hello there,

This is expected behaviour. Once you have solved (submitted) a challenge, the code is removed from localStorage.

This is done, because majority of those returning to old lessons want to re-complete them.

If you would like to retain your solution, then you may make use of the Download my solution button that appears before you submit.

Hope this clarifies