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!

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

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.