Start a free 7-day trial to check out our newest course, WordPress Basics!
Join the Treehouse affiliate program and earn 25% recurring commission!
✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
Bummer! You must be logged in to access this page.
Along with selecting DOM elements in JavaScript we can also write code that gives elements behavior. In this course we will first explore how to watch for interaction and respond using the method addEventListener. We'll learn about different types of events and how we can use the relationships between elements to write more powerful code.
Reggie is a Treehouse Teacher, developer, and lifelong learner.