30 Days Of JavaScript

Day 17: Events

Lesson 0: Intro

Now that we know how to interact with the DOM in JavaScript, it's time to start making things feel more interactive.

JavaScript has the concept of events, something happens and we get the chance to run some code. Here are the main events that we care about.

  1. onclick
  2. onmouseover and onmouseout
  3. setTimeout and setInterval
  4. keydown
  5. onload

Ok so number 3 aren't technically events BUT they are super useful and they allow us to execute code at a certain time in the future.

Let's dive into these.

Outline

Go Pro?

Upgrade to Pro for quizzes, tracked progress and a completion certificate for just $25 🚀

Want more developer tips, tricks and tools?
Then follow me:
FREE Coding Career Quick Start Guide 🚀
Discover the best way to learn to code, how to land a job and valuable resources to help your journey in this free 15 page value packed guide.
Looking to email me? You can get me on my first name at allthecode.co