I would like to know how I can cache a project of mine, because the game works normally, but when I refresh the page, all progress is lost, I would like to know how I can cache this progress is saved in the user's browser.
Note:
- for example the game
Cookie Clicker
, which saved progress in the browser. - I developed the game in
Javascript
andHTML
- Game progress is set to
tag
<Label>
and would like this to be saved.
Thank you in advance!