What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-10-08 22:39:03
convert js to ts
var acc = document.getElementsByClassName("accordion"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function() { this.classList.toggle("active"); var panel = this.nextElementSiblin... Add solution
Best helpers
Ranking is empty