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 trialtlc84
Front End Web Development Techdegree Student 2,410 PointsI put align-self: center; to no avail...
/* Complete the challenge by writing CSS below */
.row {
display: flex;
align-self: center}
.column {flex-grow: 1;}
.primary {flex: 2;}
2 Answers
Peter Vann
36,427 PointsHi!
You want to use align-items, not align-self.
This passes all 3 tasks:
/* Complete the challenge by writing CSS below */
.column { /*** Task 1 ***/
flex-grow: 1;
}
.primary { /*** Task 2 ***/
flex: 2;
}
.row { /*** Task 3 ***/
display: flex;
align-items: center; /*** Your Issue (FIXED) ***/
}
BTW, here is a fun game to help reinforce your CSS flexbox skills:
And when you get around to learning CSS grid, there's this game, too:
I hope that helps.
Stay safe and happy coding!
tlc84
Front End Web Development Techdegree Student 2,410 PointsThank you Peter!!