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 Style New Pages

Hi 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

Thanks

I added the % however there was no change in the photo

Not sure what else to do

Close your margin tag with ;

Close your margin tag with ;