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 Linking to Sections of a Web Page

Front End Web Development Techdegree Student 3,827 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
216,891 Points

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