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

JavaScript Interactive Web Pages with JavaScript Traversing and Manipulating the DOM with JavaScript Perform: Modifying Elements

Qasim Hafeez
Qasim Hafeez
12,731 Points

Code started working when I added the "edit" Class to the editButton

My code would not move the newly created items from one list to the other when the box was checked. Nor would it delete the newly created items. The existing items responded correctly. After I added the "edit" class to the editButton, it all worked perfectly. Does anyone have any idea how that could be?

alastair cooper
alastair cooper
30,617 Points

not without seeing what your css does to the edit class

rydavim
rydavim
18,813 Points

It's difficult to say without seeing your code. If you post a workspace snapshot, I'd be happy to take a look and see why that may have happened. Either way, glad you got it working! :)