text: const daysEL = document.querySelector("#days");
  const hoursEL = document.querySelector("#hours");
  const minsEL = document.querySelector("#mins");
  const secondsEL = document.querySelector("#seconds");
  
  const newYears = "1 jan 2022";
  
  const countdown = () => {
      const newYearsDate = new Date(newYears);
      const currentDate = new Date();
  
      const totalSeconds = (newYearsDate - currentDate) / 1000;
      const days = Math.floor(totalSeconds / 3600 / 24);
  
      const hours = Math.floor(totalSeconds / 3600) % 24;
      const mins = Math.floor(totalSeconds / 60) % 60;
      const seconds = Math.floor(totalSeconds) % 60;
  
      daysEL.innerHTML = days;
      hoursEL.innerHTML = hours;
      minsEL.innerHTML = mins;
      secondsEL.innerHTML = seconds;
  
  };
  
  countdown();
  
  setInterval(countdown, 1000);