Coming Soon Template by Colorlib V16 Countdown Issue

Hello I downloaded this website theme to try out for a client. The countdown resets every time You refresh. not sure exactly how to prevent that, but all the HTML shows is this (to change it).

<div class=“countdown” data-remaining-sec=“2000000”></div>

Hi there

Hope you are having a good day and thank you for your question :slight_smile:
In order to check your question i need to see your live website, please provide url and i will take a look

https://finncom-msf.netlify.com/

Did you see the link? I just threw the project in a GitHub repo and published on netlify

Is anyone there?
https://finncom-msf.netlify.com/

For those of you looking this up… I figured it out myself…
Delete this line in the HTML
data-remaining-sec="2000000"

Visit this site (https://currentmillis.com/) and on the right-hand side enter the date of the end of the countdown.
Copy the amount of millis at the bottom.

In the scripts.js file, delete this line:
var remainingSec = $('.countdown').data('remaining-sec');

replace it with this, and paste the millis in the new code:
var remainingSec = (new Date(1555873200000).getTime() - new Date().getTime()) / 1000;

Then when it refreshes, it will stay at the correct time in the countdown

Thank you for sharing solution
we really appreciate it :slight_smile: