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 Follow Along with Workspaces

Fahmi Hashim
Fahmi Hashim
431 Points

index.html comes up when i select the eye

when i select the eye, it shows up index.html. I have to click that to view my work. Am i doing it wrong?

Hannah Melendy
Hannah Melendy
4,517 Points

No, you are not doing something wrong. I have that as well. I think that the need to click the index.html is selecting the file that you are opening. It only displays index.html now, but I think there are instances where there may be more than one project possible to select. At this time, the index.html is the one you are looking to select. I think that I saw two possibilities appear at least once or twice for myself.

3 Answers

Yes, you are. If you post your code we can help you figure out what is wrong. It should be something like this:

<html>
  <body>
    <h1>Hello!  i am glad you asked a question.</h1>
  </body>
</html>

Please refer to the Markdown Cheatsheet below for how to post your code.

Fahmi Hashim
Fahmi Hashim
431 Points
<style>
  h1 {
  color:red;
  }
</style>
<h1>Fahmi Hashim</h1> 

If that is the code, it should look like this:

<html>
<style>
  h1 {
    color:red;
  }
</style>
</html>