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 Using For Loops with Arrays

Jenna Cooper
Jenna Cooper
1,195 Points

"playList" is not showing up!

I typed all of the text that is written in the video, and I've gone over it multiple times. When I "preview," the list doesn't show up on the page. When I inspect it, it says 'playList' is not defined. I can't figure out what's wrong. Please help -thanks!

https://teamtreehouse.com/workspaces/26848142#

the page doesn't exist

Benjamin Larson
Benjamin Larson
34,055 Points

Looks like you probably shared the URL to your workspace, but workspaces aren't publicly available so you'll need to Take a Snapshot from within your workspace and share that link instead. It's near the preview icon in the top right of the workspace editor--it's the leftmost icon.

anyway my playList was not showing up too and that's was becouse my printList function was named playList try to change the function name

Rick F
Rick F
1,754 Points

Go to the console. It'll display any errors that may be causing your list not to appear.

Jenna Cooper
Jenna Cooper
1,195 Points

Thanks so much, everybody :)