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 Build the Contact Page

Ben Stelzer
Ben Stelzer
1,968 Points

My contact page won't appear and just shows my portfolio page instead

I believe I have done everything the same as the video but my contact page just shows the same as my portfolio page.

http://imgur.com/XWgCioF

4 Answers

Ben Stelzer
Ben Stelzer
1,968 Points

I have solved the problem. My code is correct but there is a bug with Mozzila Firefox.

Daniel Markham
Daniel Markham
10,976 Points

Yes, there also seems to be a bug with Chrome (as of 10/22/2014). My new contact page seems to be coded correctly, but I only see the Portfolio page if I click on it. However, if I paste the work-space preview URL into IE, the Contact page displays correctly.

Hi Ben!

Make sure that the pages are properly linked in all of your HTML documents.

Ben Stelzer
Ben Stelzer
1,968 Points

I believe they are. Please see below link for images of the code for the index.html and about.html pages

http://imgur.com/OTntqV4,sWTg0aQ#0

Carsten Dollerup
Carsten Dollerup
9,278 Points

Short answer: For some people the preview in workspaces always opens in index.html. Just click the link from the index.html page to the page (ie. about / contact asf...) you want and keep that open. You can update it so see all your (saved) changes :-)

Longer answer: I had the same issue in chrome. What happens is my Preview Workspace button always sends me to index.html. I tried changing a bunch of stuff around because I was doing "my own thing" instead of copying the class examples entirely. But it simply did not display correctly (kept opening the index.html). Now I'll have to backtrack to make what I had made before trying to find "my error" which turned out to be... wrong :-) Lesson learned: IF you can't figure out why the .... there's something wrong with your code, make a copy of your files before heavily modifying trying to find the error... :-)