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 trialTravis Johnson
4,990 PointsPlaylist will not display in Preview. Only "Musical Playlist NANMaybellene" appears. Help!
Here is a snapshot of my workspace: https://w.trhou.se/qc5g0rsxco . I had come back to this session after taking a break and when I relaunched the preview window, the playlist had vanished.
2 Answers
Jennifer Nordell
Treehouse TeacherHere's the culprit! You managed to get two characters backwards. You wrote:
listHTML =+ '<li>' + list[i] +'</li>';
and you should have this:
listHTML += '<li>' + list[i] +'</li>';
Switch around the plus and equals and see if it doesn't make a difference! Happy coding!
Travis Johnson
4,990 PointsThat did it! Thanks Jennifer!
Jennifer Nordell
Treehouse TeacherYou're quite welcome! :)