---
title: "Discussion on \"JavaScript event handlers & event listeners 101\" | Hashnode"
description: "Discussion on \"JavaScript event handlers & event listeners 101\". While taking my Web Design course this semester, I finally learned the slight difference between JavaScript event handlers and listeners... so, I'm here to share my newfound wisdom!!\nBut, wtf is an event??\nAn event is usually triggered by user action..."
url: "https://hashnode.com/posts/javascript-event-handlers-event-listeners-101/63ff81a1819f4ba5f483f711"
---

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

Discussion

# [JavaScript event handlers & event listeners 101](https://lay.codes/blog/javascript-event-handlers-event-listeners-101?utm_source=hashnode&utm_medium=feed)

While taking my Web Design course this semester, I finally learned the slight difference between JavaScript event handlers and listeners... so, I'm here to share my newfound wisdom!! But, wtf is an event?? An event is usually triggered by user action...

Mar 1, 2023 · 4 min read · lay.codes  
Read the article

-   [#womenwhotech](https://hashnode.com/tag/womenwhotech)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#events](https://hashnode.com/tag/events)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Layla](https://hashnode.com/@laylacodes)

@laylacodes · Austin, TX

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

Software Engineer @ Oracle

Software Engineer at Oracle, Database Tools team

## Responses 1

Markdown supported · ⌘↵ to post

[Shivank Mitra](https://hashnode.com/@ventuscoder)

[Aug 11, 2023](https://hashnode.com/posts/javascript-event-handlers-event-listeners-101/63ff81a1819f4ba5f483f711/comment/64d63491764f843874c45652)

Thanks so much! I had no idea event handlers are different from event listeners. I've written an article about using event listeners to build an awesome JavaScript drum kit. If you find the article helpful, then please share it with others who'll also learn something new! [shivankjshacker.hashnode.dev/how-to-build-a-javas…](https://shivankjshacker.hashnode.dev/how-to-build-a-javascript-drum-kit-using-event-listeners)
