Skip to content

Commit

Permalink
Update W16D02
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasx committed Jan 27, 2025
1 parent 9bd3d3d commit 78009e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions curriculum/modules/javascript/misc/_w16d02/_w16d02.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ title: "Events: Study & Practice"

### Study Plan

Today's topic is about the three different ways of adding event handlers to HTML elements: using the `onevent` HTML attribute, using the `onevent` Element property and using the `addEventListener` method. It might be a bit confusing at first, but let's dive in and see how the three of them behave.

**What is the difference between onevent handlers and addEventListener?**

> Demystifying Event Handlers: onevent vs addEventListener
Expand Down
4 changes: 3 additions & 1 deletion curriculum/week16/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ title: Week 16 | Intermediate JavaScript

</h2>

<span>Updated: 27/1/2025</span>
<span>Updated: 28/1/2025</span>

<h2 class="week-controls__next_week">

Expand Down Expand Up @@ -123,6 +123,8 @@ title: Week 16 | Intermediate JavaScript

### Study Plan

Today's topic is about the three different ways of adding event handlers to HTML elements: using the `onevent` HTML attribute, using the `onevent` Element property and using the `addEventListener` method. It might be a bit confusing at first, but let's dive in and see how the three of them behave.

**What is the difference between onevent handlers and addEventListener?**

> Demystifying Event Handlers: onevent vs addEventListener
Expand Down

0 comments on commit 78009e3

Please sign in to comment.