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 trialJake Almendarez
Front End Web Development Techdegree Student 4,250 Pointswhats the point of the photo-container div? seems kind of pointless?
i don't understand the use or reason for the photo-container div?
1 Answer
qiwrhmhopm
Front End Web Development Techdegree Student 6,699 PointsIf you wanted to add a box of text below the photo and make it part of this "card" you would need this container. Try adding another class of .text underneath the .photo class with an h2 and a p for example.
JASON LEE
17,352 PointsJASON LEE
17,352 PointsI agree. In this current example (not counting future implementation) it seems redundant. The <div> with
.photo-container
class only has one <div> child element and it seems you could eliminate the redundancy.