There's actually a `classList.toggle` method: https://developer.mozilla.org/en-US/docs/Web/API/Element.classList