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

Ozgur Parlakkilic
Ozgur Parlakkilic
8,399 Points

My playlist.js is in the correct spot inside the js folder, and my code is correct but it doesnt show up in my chrome

My playlist.js is in the correct spot inside the js folder, and my code is correct but it doesnt show up in my chrome browser. Is Chrome not supported by this. This is my code ; var playlist = []; playlist.push('I Did It my Way'); playlist.push('Respect', 'Imagine'); playlist.unshift('Born to Run'); playlist.unshift('Louie Louie', 'Maybellene'); printlist( playlist );

Ozgur Parlakkilic
Ozgur Parlakkilic
8,399 Points

OK, I am going to answer my own question. printList function is with a capital L not lowercase. Since i split the screen up the font is too small and thought it was lowercase , thats my bad. Thanks anyways

2 Answers

millogt
millogt
7,644 Points

Try adding CamelCase to your code. Good luck!

Ozgur Parlakkilic
Ozgur Parlakkilic
8,399 Points

will do, I useally do, but when i do the exercises I try to copy the instructor so that I dont have any problems with Workspaces.

Adding CamelCase worked perfectly. Mine wasn't worked either but that helped! Thank you!