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 Build a Basic PHP Website (2018) Building a Media Library in PHP Setting Up the Project

Daniel Stuntz
Daniel Stuntz
1,683 Points

How do I (properly) set up a workspace?

I am currently working on the "Build a Basic PHP Website" course, and am on its "Setting Up the Project" section.

It appears that I'm not setting up the workspace properly. I clicked on "Launch Workspace", and the workspace opened up, but that workspace (in a separate window) looks different from the one shown in the video (and/or the next section's video). The video shows an index.html file with code in it, but I have an index.php file instead, and it's empty. Also, some other files are missing.

I tried downloading the project files (that are delivered in a .zip folder), and unzipped that folder. I speculate that I'm supposed to somehow import those unzipped files into my current workspace. Is that correct? If so, what's the most elegant way to do it? I didn't find a clear answer in the video.

I'd greatly appreciate a reply. Thanks. Daniel K. Stuntz.

2 Answers

jason chan
jason chan
31,009 Points

you have to unzip the files and make sure the files are in the correct location.

Prince Henry
Prince Henry
4,312 Points

If you have unzipped the folder, you can attach the files to your workspace by click and drag each file to the bottom left corner of the workspace. You still need to create css and image folders on your workspace and organize the files under each folder.