Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

JavaScript Tutorial For Beginners # 39 – Introduction to JavaScript Events

64.7K views on YouTube

Alright ninjas, so I think it’s about time I introduced you to JavaScript events in this tutorial. JavaScript events dictate how and when our scripts are executed, and introduce the whole concept of interactivity on our web pages.

For example, when the window loads, that’s an event which could fire some code. When a user clicks on a button, that’s an event that could fire some code. YOUR job as a JavaScript developer is to write code that reacts to these events to create that interactivity.

Any questions, fire away :).

https://www.w3schools.com/js/js_events.asp

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

========== Social Links ==========

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk