7 lines
188 B
JavaScript
Raw Permalink Normal View History

2025-01-12 23:09:34 -08:00
const infoBanners = document.querySelectorAll(".info");
Array.from(infoBanners).forEach((infoBanner) => {
infoBanner.addEventListener("click", () => {
infoBanner.remove();
});
});