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

CSS How to Make a Website Adding Pages to a Website Style New Pages

Code looks right... Image is not changing though..

The CSS is as follows: Please see the css /main.css folder for the code issue at hand.. https://w.trhou.se/51s9i0kgcw

The HTML is as follows:

<section>
        <img src="img/nick.jpg" alt="Photograph of Nick Pettit">
      <h3>About</h3>
        <p>Hello I'm Austin, This is just a sample site that I am using to help develop my coding skills. 
      </p>
      <p>If you'd like to follow me on twitter my username is <a href="http://www.twitter.com/austinsteelnc">@austinsteelnc.</a></p>
    </section>

1 Answer

Julian Aramburu
Julian Aramburu
11,368 Points

Hi Austin! The problem here is that you are targetin' your .profile-photo class in order to change the picture's attributes, but you didn't assign the class to the img. Add the class and everything should go smoothly ;).

Thanks Julian!!