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 Adding Pages to a Website Add a New Page

<img src="img/yan.jpg" alt="Photograph of me" class="profile-photo"> code doesn't want to work

Nick said to change the jpg picture with one of ours, but when I do, the pic in the website looks like the picture is broken.

3 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

Yan, are you sure that the file yan.jpg is uploaded to your "img" folder and not in another folder or to the root? I know seems simple, but sometimes the simple things are the one's we miss.

Sukhraj Grewal
Sukhraj Grewal
10,554 Points

Try this

           <img src="img/yan.jpg" alt="Photograph of me" class="profile-photo" />
Dov Breuer
Dov Breuer
8,268 Points

Rename the file photograph_of_me.jpg