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

eric ka
eric ka
6,929 Points

Select the image and set it to be a block element.

why is it not passing me trough if I set this to be block?

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

thanks eric

6 Answers

Stone Preston
Stone Preston
42,016 Points

I used your code and passed task 3 fine. I would try again

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

worked for me

Kevin Korte
Kevin Korte
28,149 Points

make sure your selector specificity is correct for the quiz. The quizzes need very specific answers. For instance, both .profile-photo`` and.profilie-photo img``` might work in the wild, but the quiz might only accept the latter.

eric ka
eric ka
6,929 Points

any one can help Im stocked.....

hi,eric ka make sure type it in Css, not in Html!

or perhaps you miss placed the coding in the wrong file about.html instead of css/main.css

code works