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

Kelly Miller
Kelly Miller
1,773 Points

The ".../" prefix is not working on Atom - could this be a Windows error?

I was successful in saving the article page in a sub-folder (under the parent folder in which my primary html file, called resourcebank.html, is housed) and in linking this file via relative path to a "read more" segment in resourcebank.html. I cannot now go up a level in the directory to link "Home" on page_1 (my article doc) under folder "pages" back to the parent folder. It should be as simple as href=".../resourcebank.html" given the file locations, but this doesn't work. It appears in the browser (using Chrome) that the path is not being read, i.e. it is interpreting this symbol in a literal sense: file:///C:/Users/User/Desktop/Test/pages/.../resourcebank.html

I have tried replacing / with \, which can sometimes be at the root of the issue with Windows/Mac compatibility. I have also added double slashes to no avail.

Kelly Miller
Kelly Miller
1,773 Points

For anyone else having this problem, pay attention to the ellipses! I saw three points, not two, as is the usual punctuation. These little errors really get ya :)

2 Answers

Steven Parker
Steven Parker
231,269 Points

The conventional special name for "parent folder" is ".." (two periods). If you actually used ".../resourcebank.html" (withe three periods) as shown here, that may be the whole issue.

Try using ../ rather than .../ and you might find it easier. Coding is a precise practice, the tiniest typo or one missed character can ruin your whole code sometimes.