I have pressed save multiple times, and it says it is saved, but when I went back to it to work on it later, all the code I did was gone. This has happened twice now, even though it said it saved.

Where are you saving your code - to your cloud account or your computer?