wkdonc / wkdonc.github.io

Japanese things
29 stars 15 forks source link

Used localstorage to store and load options chosen by user. #5

Closed xaho closed 2 years ago

xaho commented 3 years ago

It started to get a bit annoying that I had to keep changing the initial settings every time when I loaded the webpage, so I though it'd be a nice feature to use localstorage to persist those choices. I did not include a "default" button or anything like that yet.

wkdonc commented 2 years ago

Thanks for this. I extended it to include the number of questions in the config and I also added a "Reset" button to go back to the defaults.