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 trialBenji Beck
5,238 PointsI'm having trouble changing the image to round using border-radius: 50%; is my code wrong?
(My Resume.html text)
<img src="https://placeimg.com/200/200/tech" alt="Benji Beck, Web Developer" class="main-img">
(My Resume.css text)
.main-image { border: solid 4px black; border-radius: 50%; }
2 Answers
Estelito Calayag Jr.
5,818 Points<img src="https://placeimg.com/200/200/tech" alt="Benji Beck, Web Developer" class="main-img"> class should be "main-image" not "main-img" <img src="https://placeimg.com/200/200/tech" alt="Benji Beck, Web Developer" class="main-image">
Benji Beck
5,238 PointsGood looking out Estelito, I just made them both into "main-img" by error and can now correct them following your suggestion to "main-image". Thank you!
Benji Beck
5,238 PointsThanks Reid for your help with this.
Tinkered again and also noticed that I wrote "main-img" in resume.html but "main-image" in my resume.css. I think the page looks a little better now.
Estelito Calayag Jr.
5,818 Pointswelcome bro! :-) happy coding
Reid Everett
14,009 PointsReid Everett
14,009 PointsTry using pixels instead of percentages and see what happens.