How to undo the code after deleted?

How to undo the code after deleted?

Replit Profile: https://replit.com/@WarrenFang1

Hi @WarrenFang1 , welcome to the forums!
Try pressing CTRL+Z to undo the action.
Or, click the History button at the bottom of the file to see the edit history, and choose a spot where you want to revert to.
Hope this helps!

2 Likes