s in session storage
        sessionStorage.setItem('hasVoted', 'true');
        // Hide the popup after voting
        setTimeout(() => {
          document.getElementById('pollPopup').style.display = 'none';
        }, 2000);
      } else {
        alert("Please select an option!");
      }
    });


    function initializePoll() {
      console.log("Poll initialized.");
    }

    function clearSelectedButton() {
      pollButtons.forEach(btn => btn.classList.remove('selected'));
    }

    function addE