Complete the code to create a header section with a Bootstrap container.
<header class="[1]"> <h1>Welcome to Our Site</h1> </header>
The container class centers content and adds horizontal padding, perfect for a header section.
Complete the code to add a Bootstrap navigation bar with a dark background.
<nav class="navbar navbar-expand-lg [1]"> <a class="navbar-brand" href="#">Brand</a> </nav>
The bg-dark class gives the navbar a dark background color.
Fix the error in the code to properly create a Bootstrap card with a title.
<div class="card" style="width: 18rem;"> <div class="card-body"> <h5 class="[1]">Card Title</h5> </div> </div>
The card-title class styles the heading inside a card body correctly.
Fill both blanks to create a responsive Bootstrap grid with two columns.
<div class="row"> <div class="[1]"> <p>Column 1 content</p> </div> <div class="[2]"> <p>Column 2 content</p> </div> </div>
Using col-md-6 for both columns splits the row into two equal halves on medium and larger screens.
Fill all three blanks to create a Bootstrap button group with three buttons.
<div class="btn-group" role="group" aria-label="Basic example"> <button type="button" class="btn [1]">Left</button> <button type="button" class="btn [2]">Middle</button> <button type="button" class="btn [3]">Right</button> </div>
Using different button styles like btn-primary, btn-secondary, and btn-success shows variety in the button group.
