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 HTML Basics Going Further with HTML Linking to Sections of a Web Page

louistafoya
louistafoya
5,619 Points

The elements which path back to the main page from the articles page are not working for me

I did exactly what was needed from the video. When I click on the links for about and contact from the articles page the links turn into a 404 not found page. The only thing I can think of is that I wrote the pathing wrong or that the id is wrong.

ex. Articles.html <li><a href="../../index.html">Home</a></li> <li><a href="../..index.html/#about">about</a></li> <li><a href="../..index.html/#articles">article</a></li> <li><a href="../..index.html/#contact">contact</a></li>

ex. of id wrote <section id="about"> <h2>About This Site!</h2>

1 Answer

Steven Parker
Steven Parker
229,644 Points

There's a symbol missing. Instead of ../..index.html it should be ../../index.html as you have for the "home" link.