Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який метод використовується для додавання класу до елемента в JavaScript?
element.setAttribute()
element.classList.add()
element.addClass()
element.classList.set()
element.className.add()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!