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 How to Make a Website Beginning HTML and CSS Add Style to the Page

Using Workspace - Index.html problem

I have typed and done exactly what the video shows, however whenever I try to preview it, it comes up:

Index of / ā€¢ Index.html

and none of my changes are there, is this a problem with the site or is there something I am missing? Thanks for the time.

Could you please insert your code...or just he part with the problem?

```<style>

  h1 {
    color: blue;
  }

```</style>
```<h1>Scott Dowie</h1>

1 Answer

James Hall-Treworgy
James Hall-Treworgy
3,326 Points

Hello! :)

I can simulate your problem and what fixed it for me was naming the html file "index.html" (without the quotes). It would seem that leaving the file name as "untitled.html" gives the error you mentioned above.

Hope this helps! Let me know if I need to be more clear!

Thanks James! that seems to have solved it!

Great work! Cheers :)

James Hall-Treworgy
James Hall-Treworgy
3,326 Points

You're welcome! It helps me learn as well :D