Playback starts YouTube’s embedded player (privacy-enhanced mode).
Javascript Events Tutorial - How Web Developers Respond to User Input
ChannelLearnCode.academyDescription from the creator
VIEW THE CODE:
- addition: codepen.io/anon/pen/vOeeqG?editors=101
- pic link: codepen.io/anon/pen/vxYxKN?editors=101
Popular Javascript Events Are:
- click
- mouseenter
- mouseleave
- mousedown
- mouseup
- mousemove
- keydown
- keyup
- blur
- focus
See list of all javascript events here: developer.mozilla.org/en-US/docs/Web/Events
In this lesson, we'll add event listeners to html elements. When the users click, focus, blur, press a key, or move their mouse, javascript will get notified and we can make the webpage change.
Listening to Javascript events is a bread and butter task for web development and web developers.
-~-~~-~~~-~~-~-
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
youtube.com/watch?v=fgOO9YUFlGI
-~-~~-~~~-~~-~-
About this tutorial
LearnCode.academy published this 18:50 video tutorial on October 26, 2015. It has been watched 333,203 times on YouTube.
- Channel
- LearnCode.academy
- Category
- Howto & Style
- Duration
- 18:50
- Published
- October 26, 2015
- Views
- 333,203
- Likes
- 3,473
Tags
Share
Further reading
-
HTMLElement: input event - Web APIs | MDN
developer.mozilla.org
For <input> elements with type=checkbox or type=radio, the input event should fire whenever a user toggles the control, per the HTML5 specification. However, historically this has not always been the case. Check compati…
-
JavaScript - Events - Tutorialspoint
tutorialspoint.com
When the user clicks a button, that click too is an event. Other examples include events like pressing any key, closing a window, resizing a window, etc. Developers can use these events to execute JavaScript coded respo…
-
JavaScript Events - W3Schools Online Web Tutorials
w3schools.com
Here are some examples of HTML events: An HTML web page has finished loading; An HTML input field was changed; An HTML button was clicked; Often, when events happen, you may want to do something. JavaScript lets you exe…
This tutorial in other languages
- FRJavascript Events Tutorial - Comment les développeurs Web Répondre à l'utilisateur d'entrée
- ESEventos Javascript Tutorial - ¿Cómo desarrolladores web responde a la entrada del usuario
- PTJavascript Eventos Tutorial - Como Web Developers responder à entrada do usuário
- ITJavascript Eventi Tutorial - Come sviluppatori Web rispondere all'input dell'utente
- DEJavascript Events Tutorial - Wie Web-Entwickler Respond auf Benutzereingaben
- NLJavascript Events Tutorial - Hoe Web Developers Reageren op gebruikersinvoer
- RUJavascript События Учебник - Как веб-разработчиков Ответить на ввод данных
- PLJavascript Zdarzenia Tutorial - Jak Web Developers reagować na działania użytkownika
- JAJavaScriptイベントチュートリアル - ユーザ入力にどのようにウェブ開発者が応答
- ARجافا سكريبت الأحداث دروس - كيف مطوري الويب الاستجابة لإدخالات المستخدم
- HIजावास्क्रिप्ट घटनाक्रम ट्यूटोरियल - उपयोगकर्ता इनपुट कैसे वेब डेवलपर्स जवाब
- IDJavascript Events Tutorial - Bagaimana Web Developers Menanggapi User Input