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 trialBappy Golder
13,449 PointsWhy is my code not working?
Hey guys, just trying to work out why exactly my code is not working. Here's a snapshot:
If you can feagure out what exactly the problem is can you please also tell me how you found it.
Cheers. B
1 Answer
Bappy Golder
13,449 PointsSolved:
The following line was missing which closes the </li> tags.
statusHTML += employee.name + '</li>';
I think I was also not selecting the employeeList porperly. I had to add a '#' symbol in it.
And I debugged it by re-watching the video again. (not the best way but it worked for this time)