HTML HTML Basics Going Further with HTML Links and Paths Challenge

Clayton Bowland
Clayton Bowland
2,870 Points

seting <img> elements inside a folder named img.

i tried the "/" im not getting it right??

<!DOCTYPE html> 
    <title>Portfolio Page</title>
    <img src="logo.png" alt="Site logo">
      <li><a href="">Home</a></li>
      <li><a href="">Portfolio</a></li>                
    <h1 id="portfolio">My Portfolio</h1>

2 Answers

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Hi there! To go up one folder, we use the ... If we then want to specify a folder inside there, we use / and the name of the folder. The name of this folder according to the challenge is img. Note that file paths and file names are case-sensitive. The name Images will not work as suggested in the other answer here.


This tells our code to go up one folder, then go into the img folder, and then get the file logo.png.

Hope this helps! :sparkles:

Agnes Demes
Agnes Demes
6,606 Points

Hi there ../ to go out then specify the folder name Images/.... hope this helps