Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як правильно додати обробник події “click” до кнопки з id="btn"?
document.addEventListener("btn", click, function() {})
document.getElementById("btn").addEventListener("click", myFunction)
btn.addEvent("click", myFunction)
document.getElementById("btn").onClick = myFunction
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!