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 Images, Text and Links Captioning Images

Why am I having to add an extra level to my file path even though my file structure is the same as the video?

I can ony get the images to render in the browser by adding an extra level to the file paths. For example: my markup looks like this -

<img src="../../../img/vr-user.jpg" alt="man wearing vr headset" title="blah blah blah">

whereas the video shows the file path as ../../img/vr-user.jpg.

My images are in the img folder which is in the HTML Basics root directory and the article I am linking them to is in the 2017 folder which is located in the articles folder.

Thank you, in advance for any help you can give.

I am having the same issue too. I have to put extra level to the file path to make the article page to show up. I have put the same markup looks as you(<img src="../../../img/vr-user.jpg" alt="man....>). I can't put the file path in the video even though I have everything the same as the video (../../img/vr-user.jpg) . I think there is some issue with Tree House's side.