girlscript/winter-of-contributing

Event Delegation in JavaScript

Opened this issue · 3 comments

Description

Event Delegation is basically a pattern to handle events efficiently. Instead of adding an event listener to each and every similar element, we can add an event listener to a parent element and call an event on a particular target using the .target property of the event object.

Domain

Frontend Dev HTML/CSS/JS

Type of Contribution

Documentation

Code of Conduct

Hello @subhangi2731,
Thank you for opening an issue. :octocat:
Note - Self-assigns by the original author will be prioritised by mentors manually
To get assigned to this particular issue please use /assign
Check this guide before contributing.

/assign

This issue has been assigned to @subhangi2731!
It will become unassigned if it isn't closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.