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.

HTML HTML Basics Going Further with HTML Root-relative Paths

Only two of the nav elements work from article.html work

Only the link to home, and about seem to work. The link to article, and contacts take me back to index.html but not to their corresponding sections of the webpage after switching to root-relatvie path. All of the links worked fine prior to the change.

2 Answers

Actually, I figured this one out. Stupid spelling mistake. I made the corrections so that the nav id's within article.html match those in index.html and it works fine now. Thanks for taking a look for me.

Here's my snapshot. Can't seem to figure it out. https://w.trhou.se/d84awi2jn7