o</h1>
      <button id="replay">Replay</button>
    </div>

    <!-- javaScript code  -->
    <script defer>
      const nums = document.querySelectorAll(".nums span");
      const counter = document.querySelector(".counter");
      const finalMessage = document.querySelector(".final");
      const replay = document.querySelector("#replay");

      runAnimation();

      function resetDOM() {
        counter.classList.remove("hide");
        finalMessage.classList.remove("show");

        nums.forEach((num