---
title: "Discussion on \"Event Bubbling and Event Capturing in Javascript\" | Hashnode"
description: "Discussion on \"Event Bubbling and Event Capturing in Javascript\". The interactivity of our HTML web page is handled by Javascript. This interactivity is nothing but a bunch of events that the HTML elements undergo. An event can be something the browser does or something a user does. They tell us some change has hap..."
url: "https://hashnode.com/posts/event-bubbling-and-event-capturing-in-javascript/5f0064d7afcbe9749a65a3e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Event Bubbling and Event Capturing in Javascript](https://afrazmomin.com/event-bubbling-and-event-capturing-in-javascript?utm_source=hashnode&utm_medium=feed)

The interactivity of our HTML web page is handled by Javascript. This interactivity is nothing but a bunch of events that the HTML elements undergo. An event can be something the browser does or something a user does. They tell us some change has hap...

Jul 4, 2020 · 5 min read · afrazmomin.com  
Updated Oct 22, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#events](https://hashnode.com/tag/events)

## Written by

[Afraz Momin](https://hashnode.com/@afrazmomin)

@afrazmomin · Germany

  
[View profile](https://hashnode.com/@afrazmomin)

Software Developer, building apps, exploring the Cloud and writing tech blogs

Aspiring Polyglot, learning and getting better each day.

## Responses 1

Markdown supported · ⌘↵ to post

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Jul 7, 2020](https://hashnode.com/posts/event-bubbling-and-event-capturing-in-javascript/5f0064d7afcbe9749a65a3e8/comment/5f042077778aaa2ee81986d1)

Event bubbling still amazes me sometimes, you know you can add pointer-events: none on the parents to not have them trigger?

[Afraz Momin](https://hashnode.com/@afrazmomin)

[Jul 8, 2020](https://hashnode.com/posts/event-bubbling-and-event-capturing-in-javascript/5f0064d7afcbe9749a65a3e8/comment/5f042077778aaa2ee81986d1#reply-5f05f51455a963167f34d315)

Oh yeah, I'm aware. We can achieve that using the stopPropagation() method.

Event bubbling/capturing is definitely one of the many awesome concepts of Javascript.
