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 trialjerred poitra
7,241 PointsBefore doing anything, when I preview in chrome with a fresh workspace, I don't see any list of songs, just a heading.
using for loops in arrays with dave mcfarland. My workspace is fresh. I'm in chrome. I just hit preview and all I get is the music playlist heading. I can't explore the preexisting javascript because there is nothing there to highlight.
1 Answer
Jeseekia Vaughn
13,517 PointsThe preview is working as it should.
You won't be able to see anything besides the heading because nothing else is initially being written to the page. There is a playlist array, but it is not being used yet. The print function will display a "message", but the message has not been defined yet. Also, the print function has been defined, but it has not been called.
Ira Salem
10,331 PointsIra Salem
10,331 PointsI'm having the same exact issue.