#5 DOM AddEventListener
DOM AddEventListener
Welcome to the second season of the JavaScript tutorials. In this series of tutorials, we are going to cover more advanced topics such as DOM, BOM, local storage, APIs, Ajax, callbacks, and asynchronous functions.
In this video, you will learn how to use the ‘addEventListener’ inside your JavaScript code. ‘addEventListener’ works the same way as events, with the difference that it is written next to the JavaScript code rather than inside HTML tags.