Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,380 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.