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 Images, Text and Links Understanding File Paths

edward holmes
edward holmes
2,130 Points

Link to <a href="articles/article.html"> not working on my browser

When I enter file path <a href="articles/article.html">, save the file, and refresh the page in my browser, then select on the Read more tab in my newly created site. Can someone help me figure outwhy it isn't working? Is it a bug?

2 Answers

missgeekbunny
missgeekbunny
37,033 Points

Based on what you have above it almost looks like you may have copy and pasted back ticks from somewhere instead of having quotes. Try erasing the quote marks and redoing them with your keyboard. Sometimes silly things like that trip up my code even if it's something I wrote before with quotes I got from GitHub.

edward holmes
edward holmes
2,130 Points

Thanks for the time to reply. However your suggestion did not work. I am pasting the entire code of that section here. Please let me know if you see something around the code that could mess up the code. Thanks.

    <article>
      <header>
     <h3>How Schools Use Virtual Reality to Improve Education</h3>
      <p> By: Author McAurthorFace </p></header>
     <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ultrices euismod turpis eget porta. Etiam nulla massa, pretium et massa nec, ornare dignissim nisi.</p>
     <a href="articles/2017/article.html">Read more</a>
     <footer>Published: June 12, 2017</footer> 
  </article>
missgeekbunny
missgeekbunny
37,033 Points

Do you have the articles and 2017 folder as your path says? Also is your code in the same folder? That would be my only other guess is that the path is off somehow. I know if you are on linux or Mac it is case sensitive so you'll want to make sure you don't have caps that you didn't type or that you did that don't exist. Not sure what else I can offer but hope that helps.

edward holmes
edward holmes
2,130 Points

Yes missgeekbunny, I have that file path/structure. The structure goes HTML Basics- Global Structure of an HTML Document/articles.html/2017/article.html, Just like in the video. Thanks again.