Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


How to Make a Website

When I click a link to the About page or the Contact page, it first goes portfolio page. Is there a way to fix this?

1 Answer

Henrik Christensen
Henrik Christensen
Python Web Development Techdegree Student 38,319 Points

I think it's because the href="index.html" in every link - try to make sure the about link has href="about.html" and the contact href="contact.html"

If this is not the case then please write your code in here because it will make it easier to locate the problem.

That was it! Thank you :)