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 trialKris John Celino
498 Pointsmy 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
elk6
22,916 PointsHi 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.
Raymond LeDuc
2,499 PointsMake 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" />
elk6
22,916 PointsIf 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.
Kris John Celino
498 PointsKris John Celino
498 Pointsthanks .. i will try to do it just with a single folder without any subfolder