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

HTML Introduction to HTML and CSS HTML Fundamentals HTML Structure

Jill Ball
Jill Ball
2,855 Points

Previewing html

Hi, When I try to preview my first html page:

<!DOCTYPE html>

<html> <head> <title>Spaghetti Carbonara</title> </head>

<body></body> </html>

I get this:

Index of / Name Last modified Size Description Index.html 2024-05-20 22:29 106 colors txt 2023-12-15 19:20 84 img! 2023-12-15 19:20 mockup-index.png 2023-12-15 19:20 287K mockup-recipe.png 2023-12-15 19:20 801K recipe.txt 2024-05-20 21:25 1.5K Apache/2.4.18 (Ubuntu) Server at port-80-ri2nd5pc3f.ecs-production.treehouse-app.net Port 80

Any assistance is welcome! Thank you!! Jill

3 Answers

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Data Analysis Techdegree Graduate 47,831 Points

Hi there Jill Ball ! :wave:

I'm sorry to hear you're experiencing an issue!!

Could you please provide a snapshot link of your Workspace? You can see how to do this in this video at the 5:25 mark :thumbsup:

That will be very helpful in figuring this out, thank you!!

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Data Analysis Techdegree Graduate 47,831 Points

Also, please be sure that the root file's file name is all lower-case index.html, I'm not sure if that capital "I" in "Index.html" in that error message is the culprit but it could be.

Jill Ball
Jill Ball
2,855 Points

Thank you so much! The computer automatically capitalized the I in index. After changing that, it works.

I appreciate your help!