Design comparison
Solution retrospective
localStorage with Math function
Community feedback
- @SvitlanaSuslenkovaPosted 4 months ago
I see, as you wrote me, you've used a storage. It makes the page personalized, but every user should see the same countdown at the same time. Maybe, if you want it not to start again on reload you can count to the new year date (like take today year +1) and make it count to the new year, not opening.
Marked as helpful1@youssefbnosamaPosted 4 months ago@SvitlanaSuslenkova yes , i did it cuz in readme file said the should when user enter start counting from 16 day but in real-projects you will use of course a data-json contains the time you will start count and it's the same solution... the only difference is the starting-count but the same logic
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord