Recall & Review
beginner
What does the Bootstrap class
d-flex do?It makes an element a flex container, enabling flexbox layout for its children.
Click to reveal answer
beginner
How do you align flex items vertically in the center using Bootstrap flex utilities?
Use the class
align-items-center on the flex container to center items vertically.Click to reveal answer
intermediate
What Bootstrap class would you use to space flex items evenly with space between them?Use
justify-content-between to place equal space between flex items.Click to reveal answer
intermediate
How can you make a flex container wrap its items to the next line in Bootstrap?
Add the class
flex-wrap to allow flex items to wrap onto multiple lines.Click to reveal answer
beginner
What is the difference between
flex-row and flex-column in Bootstrap?flex-row arranges flex items horizontally (default), while flex-column arranges them vertically.Click to reveal answer
Which Bootstrap class makes an element a flex container?
✗ Incorrect
The class
d-flex activates flexbox layout on an element.How do you center flex items horizontally in Bootstrap?
✗ Incorrect
justify-content-center centers flex items horizontally.Which class allows flex items to wrap onto multiple lines?
✗ Incorrect
flex-wrap enables wrapping of flex items.What does
flex-column do in Bootstrap?✗ Incorrect
flex-column stacks flex items vertically.Which class spaces flex items evenly with space between them?
✗ Incorrect
justify-content-between places equal space between flex items.Explain how to create a horizontal flex container with centered items using Bootstrap flex utilities.
Think about making the container flex, setting direction, and centering horizontally and vertically.
You got /4 concepts.
Describe how to make flex items wrap to the next line and space them evenly in Bootstrap.
Consider enabling wrapping and controlling spacing between items.
You got /3 concepts.