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

Image does not appear in my About page

My image does not appear in the About page here's my line of code

<section>
       <img src="img/DSC_9090.jpg" alt="photograph of Shruthi Manas" Class="profile-photo">
     </section>

1 Answer

Sean T. Unwin
Sean T. Unwin
28,690 Points

class="" should not be capitalized. Also, double check to make sure the image is named how you spelled it and that it is in the same directory that you're calling, i.e. in the img/, and that that directory is in the same directory that your HTML file is in since that is what you are saying in the src attribute.

index.html
img/
    |- DSC_9090.jpg