Untitled
unknown
plain_text
2 years ago
460 B
5
Indexable
function toggleContent() { const content = document.getElementById("content"); const icon = document.getElementById("icon"); if (content.style.display === "none") { content.style.display = "block"; icon.classList.remove("fa-chevron-right"); icon.classList.add("fa-chevron-down"); } else { content.style.display = "none"; icon.classList.remove("fa-chevron-down"); icon.classList.add("fa-chevron-right"); } }
Editor is loading...