thomaspark / gridgarden

A game for learning CSS grid layout 🥕
https://cssgridgarden.com
MIT License
3.21k stars 305 forks source link

Feat request: Store progress in localStorage or indexedDB #143

Closed rajatkantinandi closed 3 years ago

rajatkantinandi commented 3 years ago

First of all, thank you guys for making such a fun & easy to learn interactive game interface. I liked it a lot & I think the idea is brilliant. I am just missing one feature on this site: Currently after solving few levels if I close the tab & reopen it starts from the beginning & the progress is not shown. Ideally, we should store the progress so that the next time someone opens it opens from the last level he/she was on & continue from there. As there is already a reset button in the level dropdown so someone can reset their progress whenever they want if they want to start from the beginning next time. One other option could be to show a popup on load when the user has some progress to ask them whether they want to continue from level 'n' or want to restart.

rajatkantinandi commented 3 years ago

Ohh.. I realized that it works fine. I was doing it wrong. Closing this.