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 trialTresanne Bonnick
1,758 PointsEvery time I click the preview workspace button a page comes up that says ''index of'. Why is that?
The '"index of " page has ..... css/ img/ about.html index.html. Then i click index.html then that's when i see the webpage. I have an issue with this because now i am adding pages to the website and in order for me to see the about page, i have to click the about.html to see it. Also when i click ''about"" on the website, it says "500 internal server error''. Am i doing something wrong?
Tresanne Bonnick
1,758 PointsThat is the thing. I do not think it is something wrong with the code. It is just that every time i click the ''preview workspace" that looks like an eye, it does not take me directly to the webpage. I will take a screen shot of what i mean.
Dustin Matlock
33,856 PointsTresanne, it's going to be easier to help if you could provide some code to double check. For instance, how are you linking the files? Could you provide those bits of HTML?
Tresanne Bonnick
1,758 PointsOk i used this code to link the ''about page'' to the index page.
<ul>
<li><a href="index.html" class="selected">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
3 Answers
Dustin Matlock
33,856 PointsOne other thing I can suggest is making sure your file structure is the same as in the project files. If there's an issue with workspaces, try restarting your web browser, force reloading the cache, and double checking if you've installed any recent ad blocking software or a new antivirus program. If all else fails, I would suggest you contact support to see if they can help resolve the issue. It's hard to know what's going on without a little more technical information. Sorry about the trouble there. I'm hoping you get this worked out soon.
Tresanne Bonnick
1,758 PointsOk. Thank you for your time!
Wayne Priestley
19,579 PointsHi Tresanne,
I'd have to agree with Dustin, it does look like a problem with the file structure your experiencing.
Dustin Matlock
33,856 PointsDustin Matlock
33,856 PointsHi Tresanne, can you provide the code you think might be the issue?