     num.nextElementSibling.classList.add("in");
            } else {
              counter.classList.add("hide");
              finalMessage.classList.add("show");
            }
          });
        });
      }

      replay.addEventListener("click", () => {
        resetDOM();
        runAnimation();
      });
    </script>
  </body>
</html>
