The Notepad's text is saved to a temporary cache and might be deleted when you delete your browsing history/cache or run disk cleaning application.
Use Autosave to save the text to the
Downloads folder. Avoid using Notepad with Incognito/Private window, or your notes will not be saved to the browser's cache!