Good day! I have this code, which show/hide elements when checkboxes are checked/unchecked.
So it works nice, but I want to store some user's choice in localStorage
and even after reloading the page this choice will remain. As you can see I am using loop to check which checkboxes
are true. I have never used localStorage
before, so any advice and suggestions will be appreciated.
Aucun commentaire:
Enregistrer un commentaire