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

Problem with max-width, Stage 7, Challenge Task 5 of 5

I cannot pass Stage 7, Task 5 of 5. I keep getting the error "Did you set the max width to 150px?".

I believe I have set my code up right:

````img { display: block; margin: 0 0 30px 0; max-width: 150px; border-radius: 100%; }

Can someone help me debug?

2 Answers

I assume there is no space between "max" and "-width"?

Also, should you be calling the "img" element or is there another selector you are missing? Without seeing the question that's about all I can guess . . .

opps!

I just realized there were two ````img {

}````

sections in the challenge. I did not realized they had already wrote it img { } in for you.