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 Introduction to HTML and CSS (2016) Make It Beautiful With CSS Select and Style by Class

Hi, this is about changing the profile pic. I tried to change it with a pic on my desktop, but only the alt tag is..

..but only the alt tag is displayed when I refreshed the browser. Is my file path wrong? This is a snapshot of my code.

https://w.trhou.se/8tneu6rkd1

Thank you.

1 Answer

josephr
josephr
18,877 Points

The problem is that your tea.jpg is in the images folder, which makes sense, but your html page is in the image folder is well. If this was a project you were going to work on you should probably move that index page from the image folder. Alternatively, changing the img tag <img src="tea.jpg"> would work as well.

Thank you so much.