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.

PHP PHP Basics (Retired) PHP Conditionals & Loops Foreach Loops

For each()


I would like to know how I can see the original copy for the for each() code that Hampton goes through in the lecture video.

How can I get the CSS and this social icon code using for each(). I checked downloads and I didn't see any files for this lecture video.

I thought most classes came with a copy of the code the instructor goes through in the lecture videos.


2 Answers

They're available in the work spaces - are you working on your own machine?

Open up work spaces for this video (on the video page, there's a big green button on the right side that says 'workspaces' or 'open in workspaces'.

Once you open that window, go to file in the top left hand corner and at the bottom, there should be 'download workspace'.

Unzip that file and you should have everything you need :-)

Oh, I thought all files were put in the download section. This is news to me.