My precious code!

NOOO! All my code went away… and it’s not in history!!!

:sob:

1 Like

sorry to hear that all I know you can do to stop this from happing again is hiting the save button on the bottom and saving the PNG the code is stored in the png

yu could use GitHub and commit every 2.5 seconds

Well uhm… What happened?
If ya can’t get it back, I dunno what to tell you.
Just make safety precautions for later, ok?

duplicate your project every few updates

1 Like

Just saying that happened a few days ago and not today.

1 Like

Clever.

1 Like

Sorry this happened, But I have a few methods for saving.

  1. Click the save button, Save it as a file, then click Import > Png. > Then select it from files!
  2. Press Download and select a hardware or file to save it. Sometimes projects are too big to do that.
  3. If it happened a few minutes ago, you can Press ‘Project History’ and it should come up
  4. Post it here, copy the link, Go to MakeCode and press Import > Import URL and paste the link.
  5. Make a GitHub Repo to Import as well. I don’t know how to do this one.
    That’s all I can help with, The projects shouldn’t get deleted usually.
    This could have happened if you:
  6. Cleared your browser history
  7. MakeCode starts reloading a lot when it updates
  8. If you did clear any data, that might also be why. I can’t help any further.