const posts = document.querySelectorAll(".post"); const updatedPosts = Array.from(posts).map((post) => { post.textContent = "No more parties"; });
[...document.querySelectorAll('div')].map(x => console.log(x.innerHTML))