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

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.