text: var countDownDate = new Date("2021-11-08T14:00:00.000Z").getTime();
  
  // Update the count down every 1 second
  var x = setInterval(function () {
    // Get today's date and time
    var now = new Date().getTime();
  
    // Find the distance between now and the count down date
    var distance = countDownDate - now;
  
    // Time calculations for days, hours, minutes and seconds
    var days = Math.floor(distance / (1000 * 60 * 60 * 24));
    var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
    var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
    var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  
    // Display the result in the element with id="demo"
    if (days < 0 || hours < 0 || minutes < 0 || seconds < 0) {
      clearInterval(x);
      document.getElementById("day").innerHTML = "0";
      document.getElementById("hour").innerHTML = "0";
      document.getElementById("min").innerHTML = "0";
      document.getElementById("sec").innerHTML = "0";
      console.log("event done");
    } else {
      document.getElementById("day").innerHTML = days;
      document.getElementById("hour").innerHTML = hours;
      document.getElementById("min").innerHTML = minutes;
      document.getElementById("sec").innerHTML = seconds;
    }
  }, 1000);
  