  }


    pollButtons.forEach(button => {
      button.addEventListener('click', function() {
        logButtonClick(button);
        handleVoteSubmission();
      });
    });


    for (let i = 0; i < 5; i++) {
      console.log("Simulating poll process: Step " + (i + 1));
    }

    const themeToggle = document.getElementById('theme-toggle');
       themeToggle.addEventListener('click', () => {
       document.body.classList.toggle('dark-mode');
});

</body>
</html>
