popup (copy) (copy)

× document.addEventListener(‘DOMContentLoaded’, function() { var modal = document.getElementById(“myModal”); var span = document.querySelector(“.modal .close”); var buttons = document.querySelectorAll(“.btn.becomeVipBtn”); // Debugging: log to verify modal, span, and buttons elements are found console.log(“Modal:”, modal); console.log(“Close Button:”, span); console.log(“Trigger Buttons:”, buttons); if (modal &&…Continue reading

popup (copy)

× document.addEventListener(‘DOMContentLoaded’, function() { var modal = document.getElementById(“myModal”); var span = document.querySelector(“.modal .close”); var buttons = document.querySelectorAll(“.btn.becomeVipBtn”); // Debugging: log to verify modal, span, and buttons elements are found console.log(“Modal:”, modal); console.log(“Close Button:”, span); console.log(“Trigger Buttons:”, buttons); if (modal &&…Continue reading