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 trialJamaal Barker
Front End Web Development Techdegree Graduate 13,999 PointsMy logo isn't popping up once I put the display: flex for the .main-header, .nav tag.
Once I put the display: flex; for the .main-header, .nav tag it disappears. Everything that I typed in is correct. I check multiple times. I don't understand what the issue is. If anyone has a solution that can help out my code, let me know, where I went wrong. Please and thank you. Main Styles --------------------------- */ .main-header, .nav { display: flex; }
.main-header { padding-top: 2em; }
.site.logo { width: 110px; }
.nav { margin-top: 1.5em; }
.nav a { display: block; color: #797e83; font-size: 1.125em; font-weight: 300; text-align: center; padding: 0.4em; border-bottom: 1px solid #ebecec; }
.nav a:hover { color: #0b0b0b; border-bottom-color: #52bab3; }
/* -------------------------- Media Queries --------------------------- */
1 Answer
Jason Larson
8,361 PointsThe problem is your site logo class definition. You have it as .site.logo
, but it should be .site-logo
(with a hyphen between, rather than a period). Correct that and you should once again see the logo.