Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як змінити текст у знайденому об'єкті?
const item = document.querySelector('h1');
item.textContent="Hello world"
немає правильниї відповідей
item.text="Hello world"
textContent="Hello world"
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!