Recall & Review
beginner
What does the <code>.list-unstyled</code> class do in Bootstrap?It removes the default bullet points and left padding from a list, making it look clean and simple without any markers.Click to reveal answer
beginner
How does the <code>.list-inline</code> class change the appearance of list items?It makes list items display side by side horizontally, like words in a sentence, instead of stacked vertically.
Click to reveal answer
intermediate
Why would you use
.list-inline-item inside a .list-inline list?Because each list item needs the <code>.list-inline-item</code> class to properly display inline with spacing and alignment.Click to reveal answer
beginner
What is the visual difference between a normal
<ul> list and one with .list-unstyled?A normal <code><ul></code> shows bullet points and indentation; <code>.list-unstyled</code> removes these, showing plain text lines.Click to reveal answer
intermediate
Can you combine
.list-unstyled and .list-inline on the same list?Yes, although redundant, as both remove bullets and left padding.
.list-inline-item is still needed on items for horizontal display.Click to reveal answer
What Bootstrap class removes bullet points from a list?
✗ Incorrect
The .list-unstyled class removes bullet points and left padding from lists.
Which class makes list items appear side by side horizontally?
✗ Incorrect
The .list-inline class makes list items display inline horizontally.
Inside a
.list-inline list, what class should each <li> have?✗ Incorrect
Each list item needs the .list-inline-item class to display inline properly.
What happens if you use
.list-unstyled on a list?✗ Incorrect
The .list-unstyled class removes bullets and left padding, making the list plain.
Can
.list-inline and .list-unstyled be used together on the same list?✗ Incorrect
.list-unstyled and .list-inline have similar effects (remove bullets and padding), so they work together (though redundant).
Explain how to create a list with no bullet points using Bootstrap classes.
Think about how to make a list look clean without markers.
You got /3 concepts.
Describe how to make list items appear horizontally in Bootstrap.
Imagine turning a vertical list into a horizontal menu.
You got /3 concepts.