Which of the following methods helps us to attach one or more event handlers to a selected element?
hover()
no()
focus()
ready(
Answers
Answered by
2
Answer:
hover
help us to attach elements
Explanation:
hope it help
Answered by
0
Answer:
Explanation:
To add an event handler to an event of an element, you use the addEventListener() method of the element object:
element.addEventListener(type,eventListener); ...
<button class="btn">Subscribe</button> ...
function clickHandler(event) { console.log('Button Clicked'); }
Similar questions