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 Make an About Page

i dont get what i did wrong

the final step asked me to set the max width for the image to 150 pixels and the border radius to 100% this is what i have typed

img{ display:block; margin:0 auto 30px; max-width:150px; border-radius:100%; }

2 Answers

Adam Moore
Adam Moore
21,956 Points

I believe they are asking you to set the settings for the profile photo that you are doing for the challenge, not simply every image on the page, which is what img{ } would select. So, since .profile-photo is the class, then this would be the selector that you would need to use to style according to the instructions.

That did it thanks!