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!

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 Make an About Page

Question on #3 Select the image and set it to be a block element

Hi, my answer is:

    display: block;

It isn't the right answer, and I'm stuck. Does it matter where this code is placed in the .css code?

4 Answers

Did you remember to wrap "display: block;" in something? (didn't want to hand it to you)

Thank you. Your answer will help me remember for next time.

Did you put curly braces?

.profile-photo {
  display: block;
Don Shipley
Don Shipley
19,488 Points

Sorry was writing mine as your posted yours Jared

Thanks, Jared. That's the "wrapper" that Jason mentioned. I'll try to remember.

Don Shipley
Don Shipley
19,488 Points

Try in your css file. .profile-photo { display: block; } Looks like you forgot the curly braces..

Oh, yeah! Thank you so much!