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 JavaScript Loops, Arrays and Objects Tracking Multiple Items with Arrays Adding Data to Arrays

Justin Bigos
Justin Bigos
3,828 Points

Adding data to an Array. Playlist code

When I preview the workspace after the first .push entry ('I did it my way') there are two semicolons on the page one above and below the first song title. My code is written exactly as Daves but has the 2 semicolons. I inspected the code in helpers.js and index.html but could not find anything to indicate why I would have the 2 rogue semicolons. Ideas, answers, anyone? Thanks

JB

Joseph Perez
Joseph Perez
25,122 Points

Hi Justin,

Is it possible that you can show the code that you had written, it might make debugging it a little easier.

1 Answer

Justin Bigos
Justin Bigos
3,828 Points

Nevermind I figured it out. Found em, got rid of em, works perfect.

Joseph Perez
Joseph Perez
25,122 Points

Yay! Happy programming! :)