const hasClass = (el, className) => el.classList.contains(className);