JavaScript Tutorial for Beginners - Part 14 | JavaScript Events | Learn Web Technologies

Publicado el: 27 enero 2020
en el canal de: Learn Web Technologies
23
2

CSS Playlist
   • CSS Tutorial for Beginners  

HTML Playlist
   • Html tutorial for beginners  

Sign up for my newsletter to receive weekly updates
http://bit.ly/2RRFktj

Join our facebook page
bit.ly/2OKQYV7

JavaScript Events
HTML events are "things" that happen to HTML elements.
When JavaScript is used in HTML pages, JavaScript can "react" on these events.

HTML Events
An HTML event can be something the browser does, or something a user does.
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 execute code when events are detected.
HTML allows event handler attributes, with JavaScript code, to be added to HTML elements.

What can JavaScript Do?

Event handlers can be used to handle, and verify, user input, user actions, and browser actions:
Things that should be done every time a page loads
Things that should be done when the page is closed
Action that should be performed when a user clicks a button
Content that should be verified when a user inputs data
And more ...

Many different methods can be used to let JavaScript work with events:
HTML event attributes can execute JavaScript code directly
HTML event attributes can call JavaScript functions
You can assign your own event handler functions to HTML elements
You can prevent events from being sent or being handled
And more ...
----------------------------------------------------------------------------------------------------------------
#LearnWebTechnologies #Javascript #JavascriptTutorialForBeginners #JavascriptPlaylist


En esta página del sitio puede ver el video en línea JavaScript Tutorial for Beginners - Part 14 | JavaScript Events | Learn Web Technologies de Duración hora minuto segunda en buena calidad , que subió el usuario Learn Web Technologies 27 enero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 23 veces y le gustó 2 a los espectadores. Disfruta viendo!