How to create save point for player?

if i upload the index html. all the file make it available online, how can i create a save point for the visitor who play the game, so when they came back they can resume their progress playing the game?


I believe it should automatically be saved in their browser's local storage.


Yes, unless they hit the restart link at the top right