At the top of my head I’d think you could either create a upload/download option thus manually handle the file.
OR you could turn the data into a cookie and save it in the browser that way.
I think browsers in general are a bit iffy about just writing and reading files on the computer without explicit control of the user. You know, because of malware.
Sounds sensible but FCC is storing data in ls (and all the rest), at least I can access it from the console or from storage tab, and don’t remember them asking…
@BigBang localStorage seems to be persistent if you close the page. If using incognito mode it doesn’t though.
sessionStorage instead, disappears when page is closed.