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 Introduction to HTML and CSS 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.


Thank you.

1 Answer

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.