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 trialeric ka
6,929 PointsSelect 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
42,016 PointsI 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
28,149 Pointsmake 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
6,929 Pointsany one can help Im stocked.....
yan soe
9,617 Pointshi,eric ka make sure type it in Css, not in Html!
eric ka
6,929 Pointsyeah, ;)
Fran M
20,141 Pointsor perhaps you miss placed the coding in the wrong file about.html instead of css/main.css
code works