Welcome to the Treehouse Community
Looking to learn something new?
Jeremy Custer3,050 Points
HTML Basics: file path not working <a href="articles/2017/article.html">
I have my file path just like the instructor has it in the video, but when I click preview page and click the link, no URL is found on the server. I do have the 2017 folder nested in the articles folder with the article.html file in the 2017 folder. Help please! lol
Hi, I'm just an intermediate, so if there are any experts out there and I am incorrect, please jump in.
The link "articles/2017/article.html" in the video is not an absolute link to an external website, but is instead an internal link to a folder within the instructor's computer. Therefore, unless you create yourself a folder in your computer with the path "articles/2017/article.html", the instructor's internal link should not work at your end. In other words, the instructor seems to be assuming that a file with t he path "articles/2017/article.html" exists on his computer or website and is thus using an internal link to it. In contrast, an absolute link includes "http://www. bla bla bla.com etc". If it were an absolute link, then it is expected that it would work for you.
This is a good question and I hope you now understand.