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 Array Iteration Methods Array Iteration `for` vs forEach()

shirshah sahel
shirshah sahel
10,035 Points

workspace is not previewing !!

When I hit the preview button it is not working . is someone else experiencing the same issue. ALSO any recommendation on how to solve this problem? https://teamtreehouse.com/workspaces/33142042#

1 Answer

Matthew Long
Matthew Long
28,407 Points

You can use Node to follow along with these videos. In the console provided in the workspace type node iteration.js and anything you log to the console will show there! Make sure you save your workspaces before running it again or your changes wont show.

If the console is not showing go to 'view' -> 'show console'.

The video will walk you through how to solve the .forEach array iteration problem

shirshah sahel
shirshah sahel
10,035 Points

Thank you so much Matthew, I am going to do that now.