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 trialanilkomal
3,621 PointsHi I cannot seem to get the profile picture as a circle as explained in the video
My code is below:
HTML
<section> <img src="img/nick.jpg" alt="photograph of Nick Pettit" class="profile-photo">
CSS .profile-photo { display: block; max-width: 150px; margin: 0 auto 30px border-radius: 100; }
3 Answers
Cindy Lea
Courses Plus Student 6,497 PointsYour border-radius should say 100%, not 100.
Aiden Mitchell
5,572 PointsClose your margin tag with ;
Aiden Mitchell
5,572 PointsClose your margin tag with ;
anilkomal
3,621 Pointsanilkomal
3,621 PointsThanks
I added the % however there was no change in the photo
Not sure what else to do