Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial2 Answers
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsThe instructions are to specifically to use the change event. Then the addEventListener is wired to respond to a change event.
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsFor this challenge an addEventListener needs to be added to both lines. Here is the syntax for one of them:
navigationSelect.addEventListener("change", navigateToValue);
Mark Miller
45,831 PointsHow did you know that the event is specifically called "change"? It could have been anything! Would another word fit suitably representing the visitor's selection of an option from the select menu? What if they change it from "change"? Will we know about that? Can you say where the documentation says "change" for this event?
Mark Miller
45,831 PointsMark Miller
45,831 PointsWhoa, thanks! I did not even realize it says "change" in quotations in the instructions! I guess I need to read more carefully. I did not realize that when it says "change" it means exactly that word. Thanks for the help.