We could apply that class when the submit button is clicked: submitButton.addEventListener("click", (e) => { form.classList.toggle("errors" ...
確定! 回上一頁