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
2 Answers
Andrew Chalkley
Treehouse Guest TeacherYou need to change this...
var editInput = listItem.querySelector("input[type="text"]");
to...
var editInput = listItem.querySelector("input[type='text']");
You can't have double quotes inside double quotes.
Also you need to comment the out the last line for now bindTaskEvents(completedTaskHolder.children[i], taskIncompleted)
Steven Parker
243,656 Points
You may have forgotten a loop.
At first glance, I noticed at the end of app.js you have two sections each with a comment that begins "cycle over ...".
But the first of these sections has a complete loop, and the second one has only a statement that looks like it should be inside a loop.
fisnik poroshtica
14,154 Pointsfisnik poroshtica
14,154 PointsThank you