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 trialEvan Huddleson
12,623 PointsFlexbox-layout challenge 2
.main-nav{ display: flex; }
.main-logo{ flex: 1; }
/* I have also tried..*/
.main-nav { display: flex; flex: 1; }
What am I missing here?
Thanks!
3 Answers
Austin Davis
23,939 PointsBefore simply giving you the answer...... You should be receiving an error that states "make sure you are using the correct flex-grow property" (that is what I received when testing your code in the challenge). This error is a big hint and I hope it helps you figure it out. If not, try watching the video one more time while you keep that error in mind and I'm sure you can get it.
Evan Huddleson
12,623 PointsLol, Austin. I feel like a dumby. Gotta remember to take more brain breaks!
Thanks for your humble reminder ; )
Austin Davis
23,939 PointsHaha, no worries Evan. In my short experience learning CSS with Treehouse I've already noticed it's often the simplest answer that can be the most elusive. Glad I could help!