FAQ: Flexbox - Nested Flexboxes

This community-built FAQ covers the “Nested Flexboxes” exercise from the lesson “Flexbox”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Web Development

FAQs on the exercise Nested Flexboxes

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

What does step 8 do? Nothing seems to change…


Bump does anyone know what step 8 does since .child is an flex-item not a container?
@codeneutrino @8-bitgaming


@microace27095 and @board1774168228 I think Codecademy did this by accident. You can report this lesson (which I’ll also do) so that the curriculum developers can fix it


Nested Flexboxes

.child class displays the element as a block level flex container which takes the full width of its parent container. Content is centered based on the width of its parents container. Items are centered from to to bottom.

Same question here…