1 2 3 4 5 6 7 8 9
function showPost(id) { let post = document.getElementById(id); if (post.style.display == "none") { post.style.display = "block"; } else { post.style.display = "none"; } }