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 trialShawn Brome
3,395 PointsIn this video, when I live preview the code, it does not show up on my chrome webpage. It only shows the HTML.
https://teamtreehouse.com/workspaces/39502872
Here is the js file.
Shawn Brome
3,395 Pointshttps://w.trhou.se/vo22vrkli6 Hopefully I did it right this time.
4 Answers
KRIS NIKOLAISEN
54,971 PointsLine 17 is missing a + between songs[i][1] and '</li>'
listHTML += '<li>' + songs[i][0] + ' by ' + songs[i][1] + '</li>';
Shawn Brome
3,395 PointsThanks for the rapid response, but the song list still is not displaying on the webpage.
KRIS NIKOLAISEN
54,971 PointsIt lists for me. Here is the updated workspace:
Choose fork in the upper right corner to create a copy you can preview
Shawn Brome
3,395 PointsKris thanks for the file. This did work for me. It turns out something was wrong with line 17 in my code but it looked exactly the same. It could not have been the same since it worked. Thanks.
KRIS NIKOLAISEN
54,971 PointsKRIS NIKOLAISEN
54,971 PointsIf you want to share a workspace you need to make a snapshot. It's the first icon in the upper right corner that looks like a camera.