3 ms·
Why not this? document.querySelectorAll("p").forEach(e => e.style.display = "none")
by ggx2 3y ago
Why not this?
document.querySelectorAll("p").forEach(e => e.style.display = "none")
- WorldMaker 3y agoOr: for (const e of document.querySelectorAll("p")) { e.style.display = "none" }