Close ad to continue as free user?

get the id or class of your ad with var ad = document.querySelector("adId or adClass")

get the id or class of your button that wil go underneath your add with var button = document.querySelector("buttonId or buttonClass")

then add a click event on the button with
button.addEventListener("click", function(e){ ad.remove()})

Leave a Comment