adityaS011 / ecommerce-clone

Flipkart clone built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The application replicates some of the core features of the popular e-commerce platform Flipkart.
https://mern-clone-flipkart-p2p.netlify.app
MIT License
16 stars 13 forks source link

Fix Countdown Timer Bug and Improve Display #22

Closed Akkash20 closed 10 months ago

Akkash20 commented 11 months ago

When users reload the page, the countdown timer resets to 14hr 00min 00sec, causing confusion and an unresponsive feel. Additionally, there is no indication of deal completion when the countdown timer reaches zero, leaving users uncertain about the deal's status.

Screenshot_20231010_202741 (3)_LI

To address this issue and enhance user engagement, we need to implement solutions that ensure the countdown timer remains consistent upon page reload and display "Deal Expired" appropriately. Moreover, we aim to introduce an element of randomness in the countdown timer's starting time, providing an exciting and fair experience for our users.

To ensure that the countdown time remains consistent across page refreshes and continues with the old time, we can store the countdown time in local storage.

I would like to work on this issue can you please assign me?

adityaS011 commented 11 months ago

ya sure you can work on it, good luck