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 trial
Eric Garcia
6,217 PointsPurpose of creating the filter label and checkbox with JavaScript?
The teacher never really explains why we are creating this filterLabel and filterCheckbox with JavaScript instead of just adding it to our HTML. Can someone explain why?
https://teamtreehouse.com/library/filter-invitees-who-have-not-responded
1 Answer
Alexander Solberg
14,350 PointsYeah, I was wondering that too. I think it just has to do with the fact that the course is about DOM-manipulation. This way, the teacher demonstrates that there are many ways to accomplish similar goals.