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 Creating HTML Content Structure the Image Gallery

I just noticed I have two index files in my work space how do I remove one of them? I have tried deleting the folder.

I am trying to get my image to load in the structures image gallery. I fear it is pulling from the wrong html file. Here is my code. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Claire Fath | Designer</title> </head> <body> <Header> <a href="index.html"> <h1>Claire Fath</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </Header> <section> <ul> <li> <img src="img/numbers-01.jpg" alt=""> </li> </ul> </section> <footer> <p>Ā© 2014 Claire Fath.</p> </footer> </body> </html>

5 Answers

Can you not right click and delete? If not then I'd just rename the one you don't need to something different.

Janise Bradford
Janise Bradford
5,664 Points

Hi Claire,

If you want to delete the index file from workspaces, just open up the project in workspaces, go to the left side of workspaces in the black area (where all of the project files are located) and right click on the index.html file and you'll be able to select delete from there, and that should remove it for you.

Hope this helps!

Janise

Janise Bradford
Janise Bradford
5,664 Points

Claire, also it looks like you have your header tags in caps, and they should be in lower case.

If you would like to keep the file you can rename it by adding "old" to the file name and then move it to another directory. That way you will have it available for using to check or compare code. By renaming it as something like "indexold" or "oldindex" you can keep the file.

Thank you I have renamed the folder for now. I am still having problems getting my image to show up; but I will try and work through this problem.

Is it possible that the image did not get unpacked or copied to the correct directory? I had problems with some of my files copying from my unpack to the img directory in my Workspace.

Nope it was a file path for some reason I had to capitalize my I instead of being able to leave it as a lower case i.

Thank you all for your quick replies.