Full threadjnet·ele.classList.toggle('class-name');That seems really useful, and I had no idea it existed.View on HN