edemaine
I think the duration of the timer should be saved to the URL (in query say), so that it survives browser reloads, you can link to it, etc. I don't think it makes sense to remember the "time remaining". Dark mode could be saved in localStorage but that also needs unnecessary.