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 trialChristian Russo
7,107 PointsInitial Width of 300px?
"Let's display equal -- but flexible -- widths for the columns. Create a new rule that targets the columns. Then, set the columns to evenly expand and display on one line, with an initial width of 300px."
So, I set:
.column { flex:1; min-height: 300px; }
I thought min-height was correct, but apparently not. Could someone please enlighten me of what I would use instead?
3 Answers
Alexander Davison
65,469 PointsYou did a good job! There's a couple minor issues, though:
- You had said "min-height", try "min-width" instead.
- You aren't supposed to say "flex: 1"... Try "display: flex".
Good luck! ~Alex
Khaleel Yusuf
15,208 PointsSame problem.
Muhammad Anwar Ul Haq
Full Stack JavaScript Techdegree Graduate 18,781 Points.row {
display: flex;
}
.column {
flex: 1 300px;
}
Christian Russo
7,107 PointsChristian Russo
7,107 PointsHey! Thanks for the swift reply!
whoops, the min-height ---> min-width was a simple mistake, one that I overlooked. I'm still receiving the
"Bummer! Use the property that specifies the initial main size of the columns."
banner and I don't understand what I am doing wrong. Could you please help resolve this issue?