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 Add a New Page

Badrul Lasker
Badrul Lasker
909 Points

About page doesn't shows up.

Upon clicking the about page it doesn't makes any change it reacts same way as it did before, i.e it address bar it shows index.html and not about.html at the end of the link.

Panagiotis Papavramopoulos
Panagiotis Papavramopoulos
2,457 Points

It would be easier to find the problem if you show us your code!

Probably the problem is with you a tag, check this

<a href="about.html"> About </a>
Badrul Lasker
Badrul Lasker
909 Points

Thanks that's where the problem was.

1 Answer

Aaron Charles-Rhymes
PLUS
Aaron Charles-Rhymes
Courses Plus Student 8,434 Points

Look at your code in the nav section in your html and it should look like this: (''' <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> ''') If your still confuse rewatch the video ("Add a New Page") in "How to Make a Website"