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 trialHarry Beckwith
13,452 PointsUnobtrusive JavaScript Tech degree JavaScript project 2, how to get the search functioning through js?
Hi,
I have managed to get the search working correctly by placing it into the html. However this project requires the search section to be added through javascript. I have appended the search section, however this stops the search from functioning. Here is a link to my Codepen http://codepen.io/fun/pen/VjraNd
Any pointers would be appreciated =)
Thank you,
Harry
1 Answer
Harry Beckwith
13,452 Points- Question Resolved *
Hi Steven,
Sorry the pen has been updated since, i should have left a comment on here. Was event delegation that was preventing the search functioning.
Steven Parker
231,275 PointsSteven Parker
231,275 PointsI couldn't see the problem. The Codepen seems to work fine.