Learn Javascript, click, Javascript and the DOM, Codecademy

Lesson Summary

In this lesson we learn about the on method. The javascript .on method allows us to choose different types of events to listen for. In this lesson we use the .on method to listen for a click event. When that click events occurs we can do something else to any elements on our page.