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 trialAnthony Estevez
531 PointsHi I have a problem with with Resume.CSS not linking with HTML. I am trying to get the adjust border and border radius.
Hi there,
I am trying to adjust the border and border radius in Resume.CSS and getting stuck and cannot see what I need to do.
I have found other queries on here relating and still and resolve.
Here is a snapshot of my code: https://w.trhou.se/4j51morw0r
Wold be grateful for any support.
Thanks,
Anthony
3 Answers
Steven Parker
231,248 PointsThe link is working, but styles are not being applied to the image for two reasons:
- the CSS selector needs a period prefix to identify it as a class selector ("
.main-image
") - the image class in the HTML needs to be "
main-image
" instead of "main image
" to match the CSS
Samet Erpik
1,187 PointsHi
Your css code (following)
main-image { border: solid black 4px; border-radius: 50%; }
is not in your HTML. Also you need to have '.' to select it if it's a class or '#' if it's an ID.