Learn JavaScript Click Events : Event Handler Explained

Опубликовано: 23 Октябрь 2022
на канале: Code ON 코드온
1,151
40

There are many events in JavaScript. And events are triggered by user actions. Most common ones would be KeyboardEvent and MouseEvent. When you type your ID and password to login to a webpage or when you click that login button, events occur.

Today we are going to handle click events that happen on [a] tags.

00:00 Intro
00:18 What are events in JavaScript
00:30 What we are going to cover in this video
00:48 Let's create app.js file
01:24 Use document.getElementsByClassName ()
01:50 Use console.log
02:58 a_header_inactive and how color changes
04:58 Change a cursor to make it look clickable
05:17 Outro

#JavaScript #Event #EventHandler
#NAVERCloud #Wecode #LearnCoding #Coding #Development