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

CSS CSS Basics (2014) Enhancing the Design With CSS Border Radius

Immanuel Jaeggi
Immanuel Jaeggi
5,164 Points

border-radius property acting up

with the .wildlife class this property doesn`t change anything, only with the other 2 images. N E one else has this problem?

Jonathan Woods
Jonathan Woods
10,137 Points

Applying border radius to the .wildlife class will only affect that Div and nothing else on the page. To add the border radius to the other 2 images or divs you would need to target their class.

To target all the images on the page

img {
    border-radius: 10px;

And to target just the resorts and tips div's

.tips   {
    border-radius: 10px;

1 Answer

Hi Immanuel, I've had these kind of problems many times. It always turned out to be a typing error or I had forgotten ; or something like that. It's also possible that the error is not in that line itself, but somewhere above it in the code, like when you accidentally deleted something.

Good luck with this puzzle. And by the way, my code worked fine when I wrote this code today, so I don't think there is anything wrong with the lesson itself.