Grab the element from the DOM: const button = document.querySelector("button");. copy · Use element.classList.contains method to check for a ...
確定! 回上一頁