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 Adding Pages to a Website Style New Pages

about page displays index code even after deleting images

I copy and paste the index.htm code into a new about.html. I delete the images inside the <section> tags. I save, and have the about.html tab active in workspace, but it still displays the artwork gallery when i click the eye icon to preview. Suggestions?

Alan, I tried close then open and F5; unfortunately, neither worked.

Angela Bortone
Angela Bortone
7,405 Points

Perhaps the issue is that when you launch the preview the default page it loads is index.html. From there you should be able to click the about button in your navigation to view your about.html page. Having the about.html tab active in your workspace will not change the preview's default homepage.

Thank you alll for taking the time to help.

I tried using the link. Still not working. I quadruple checked the punctuation and capitalization. Both pages of code are in the same level of organization, so I don't have to do file paths right?

<li><a href="About.html">About</a></li>

2 Answers

index.html is the default page that is loaded. If you want to see your about page, you will need to link to it off of the index.html page using a menu item. Nick covers this in the "Build Navigation with Unordered Lists" lesson in the "Styling Web Pages and Navigation" section. The code to link to the about page should already be in your index.html.

I'm not trying to use the nav menu. I'm just trying to view preview it right from workspace.

Alan Mattanó
PLUS
Alan Mattanó
Courses Plus Student 12,188 Points

I was having the same problem. A draft fast solution was to rename the file About.html to index.html so i can look to it. And then i change name back to About.html and i make a links. Tray lowercase?