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 trialLeslie Kirschner
3,506 PointsQuestion on #3 Select the image and set it to be a block element
Hi, my answer is:
.profile-photo
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
Jason Founts
Courses Plus Student 14,384 PointsDid you remember to wrap "display: block;" in something? (didn't want to hand it to you)
jaredcowan
11,808 PointsDid you put curly braces?
.profile-photo {
display: block;
}
Don Shipley
19,488 PointsSorry was writing mine as your posted yours Jared
Leslie Kirschner
3,506 PointsThanks, Jared. That's the "wrapper" that Jason mentioned. I'll try to remember.
Don Shipley
19,488 PointsTry in your css file. .profile-photo { display: block; } Looks like you forgot the curly braces..
Leslie Kirschner
3,506 PointsOh, yeah! Thank you so much!
Leslie Kirschner
3,506 PointsLeslie Kirschner
3,506 PointsThank you. Your answer will help me remember for next time.