document.addEventListener("DOMContentLoaded", function() {
var popup = document.getElementById("age-popup");
var acceptButton = document.getElementById("accept-button");
// Show the popup when the page loads
popup.style.display = "block";
// Close the popup when the "I Accept" button is clicked
acceptButton.addEventListener("click", function() {
popup.style.display = "none";
});
});