i inadvertently deleted the code

Do you mean you deleted the contents of one of the files? If yes, then you can use the keyboard shortcut Ctrl + Z or use the file history (the button in the lower right corner of the file editor).

If you deleted the file with the code, then you can create a file with the same name as the deleted one and use the history of this file.

5 Likes