Complete the code to create a basic Bootstrap list group container.
<ul class="[1]"> <li class="list-group-item">Item 1</li> <li class="list-group-item">Item 2</li> <li class="list-group-item">Item 3</li> </ul>
The list-group class creates a Bootstrap list group container that styles the list items properly.
Complete the code to make the second list item active in the Bootstrap list group.
<ul class="list-group"> <li class="list-group-item">Item 1</li> <li class="list-group-item [1]">Item 2</li> <li class="list-group-item">Item 3</li> </ul>
The active class highlights the list item as active in Bootstrap list groups.
Fix the error in the code to make the list group flush (no border radius).
<ul class="list-group [1]"> <li class="list-group-item">First</li> <li class="list-group-item">Second</li> <li class="list-group-item">Third</li> </ul>
- element.
The list-group-flush class removes the outer borders and border-radius from the list group.
Fill both blanks to create a list group with horizontal layout on medium screens and above.
<ul class="list-group [1] [2]"> <li class="list-group-item">One</li> <li class="list-group-item">Two</li> <li class="list-group-item">Three</li> </ul>
The list-group-horizontal-md class makes the list group horizontal starting at medium screen sizes. It is added once but here the task expects filling both blanks with the same class to emphasize usage.
Fill all three blanks to create a list group with flush style, horizontal on large screens, and the third item disabled.
<ul class="list-group [1] [2]"> <li class="list-group-item">Alpha</li> <li class="list-group-item">Beta</li> <li class="list-group-item [3]">Gamma</li> </ul>
The list-group-flush class removes borders, list-group-horizontal-lg makes the list horizontal on large screens, and disabled disables the third list item.