Computer Science, asked by Anonymous, 7 hours ago

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 kamlesh94182
2

Answer:

hover

help us to attach elements

Explanation:

hope it help

Answered by devindersaroha43
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