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.

CSS How to Make a Website Beginning HTML and CSS Follow Along with Workspaces

my workspace i think doesnt work well

it shows only this prompt in my browser when i previewed

Index of /

../ CSS/ 09-Mar-2015 19:48 - HTML & Portfolio Intro.thml/ 09-Mar-2015 19:48

2 Answers

Hi Kris,

Looks like your HTML is in a different folder or maybe not even there at all. Make sure your HTML files are in the root folder, so not in any subfolders. If it's not there at all. Download the project files and upload them again to workspaces.

Downloading the files can be done underneath the video. Uploading in workspaces is done by file --> upload file.

thanks .. i will try to do it just with a single folder without any subfolder

Raymond LeDuc
Raymond LeDuc
2,499 Points

Make sure that the path is correct on the <link> of your index.html is pointing to where your css is.

<link rel="stylesheet" type="text/css" href="css/yourstylesheetnamehere.css" />

if you have a folder named css where your index.html is then the above works but if you see your raw css file in the same location as your index.html is located then use

<link rel="stylesheet" type="text/css" href="yourcssfile.css" />

If the path to the CSS is incorrect, the HTML should show up like normal. Since the "index of" page is showing it means the browser can't locate any html file at all.