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 trialgrace morgan-maxwell
Front End Web Development Techdegree Student 845 PointsCan't get my file path to work. Can someone please tell me what I've done wrong?
I'm up to HTML file paths on VR site project, neither of the two below is working for me. I keep getting the Not Found error message.
<li><a href="../index.html">Home</a></li>
<a href="articles/2017/article.html">Read More</a>
Steven Parker
231,261 PointsIf you make a snapshot of your workspace and post the link to it here, we can replicate and examine the issue.
2 Answers
grace morgan-maxwell
Front End Web Development Techdegree Student 845 PointsHere is the link: https://w.trhou.se/yb9wo1izet Thank you :) @ Steven Parker
Steven Parker
231,261 PointsThere's two "article.html", one in the main folder, the other in the "articles" folder. I assume you are working with the second one.
In article.html:
<li><a href="../index.html">Home</a></li>
this link worked okay, and displayed the home page.
In index.html:
<a href="articles/2017/article.html">Read More</a>
this link is pointing to the wrong place
<a href="articles/article.html">Read More</a>
here it is fixed, with the correct location
grace morgan-maxwell
Front End Web Development Techdegree Student 845 Pointsgrace morgan-maxwell
Front End Web Development Techdegree Student 845 PointsI even copied and pasted the final code from the zip folder under resources for index.html and articles.html and I still get the same not found error message - is there something else I can try?