---
title: "Aritra Koley (@Koleyteral) | Hashnode"
description: "Software Developer. Read the latest articles by Aritra Koley on Hashnode."
url: "https://hashnode.com/@Koleyteral"
---

@Koleyteral

# Aritra Koley

@Koleyteral · Joined January 2023

Software Developer

### [JavaScript event handling: stopPropagation vs stopImmediatePropagation](https://aritrakoley.hashnode.dev/javascript-event-handling-stoppropagation-vs-stopimmediatepropagation?utm_source=hashnode&utm_medium=feed)

In JavaScript, when any event like a click or mouse-over occurs on a dom element, it goes through the capturing and bubbling phases. Consider the following code: <!-- eventHandlingExample.html --> <!DOCTYPE html> <html lang="en"> <head> <title>...

4 min read · [aritrakoley.hashnode.dev](https://aritrakoley.hashnode.dev/javascript-event-handling-stoppropagation-vs-stopimmediatepropagation?utm_source=hashnode&utm_medium=feed)

[Jan 24, 2023](https://hashnode.com/posts/javascript-event-handling-stoppropagation-vs-stopimmediatepropagation/63cfcfca33a735137ae458d5)
