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
JACOB VARGHESE
Front End Web Development Techdegree Student 1,670 PointsCSS logos
The logo is an <img>, so it displays inline with surrounding content by default. The logo displays on the same line as .main-nav and the auto margins have no effect on it. Place the .logo on a separate line by changing its display mode.
Can someone explain this code challenge?
Regards Jacob
2 Answers
Jonathan Rhodes
8,086 PointsIt is describing the image as an inline-element. It is asking you to change the image's display to block so that it takes up its own line.
JACOB VARGHESE
Front End Web Development Techdegree Student 1,670 PointsThanks Jonathan. It worked.
Regards Jacob