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 How to Make a Website Creating HTML Content Structure the Image Gallery

why is the image on my preview a folder with a hill and sun

i already rechecked my code several times but i can never seem to find any mistake with it but when i check the image in the preview its just folder with a hill and sun, can u please help me thanks!!!

Michael Hulet
Michael Hulet
47,913 Points

Could you provide a snapshot of the workspace you're using?

2 Answers

Huzaifa Sajjad Malik
PLUS
Huzaifa Sajjad Malik
Courses Plus Student 10,823 Points

Mate the file structure for it would be like this create a folder of any name you want in this case it would be img i guess so all you have to do is to link the image like this.

<img src="img/picture1.jpg">

so you are telling the browser to select img folder and then from it select the picture1 and display it on the browser and remember to specify the extension of the image its very important in this case it is .jpg

Huzaifa Sajjad Malik
PLUS
Huzaifa Sajjad Malik
Courses Plus Student 10,823 Points

paste your code snippet so that its easy to check where you are making a mistake

Michael Hulet
Michael Hulet
47,913 Points

Something tells me file structure is important here, so it'd also be great to either get a screenshot of the file structure of the project or a snapshot of the workspace