Complete the code to apply a Bootstrap heading style.
<h1 class="[1]">Welcome to My Website</h1>
The display-1 class in Bootstrap styles the heading with a large, consistent font size.
Complete the code to make paragraph text use Bootstrap's lead style for emphasis.
<p class="[1]">This is an important introduction paragraph.</p>
The lead class makes paragraph text larger and lighter, helping it stand out as an introduction.
Fix the error in the code to correctly apply a Bootstrap text color class.
<p class="text-[1]">This text is highlighted in blue.</p>
The correct Bootstrap class for blue text is text-primary. Misspellings cause the style not to apply.
Fill both blanks to create a Bootstrap card with a title and text.
<div class="card" style="width: 18rem;"> <div class="card-body"> <h5 class="card-[1]">Card Title</h5> <p class="card-[2]">Some quick example text to build on the card title.</p> </div> </div>
The class card-title styles the heading, and card-text styles the paragraph inside a Bootstrap card.
Fill all three blanks to create a Bootstrap button with small size, primary color, and rounded corners.
<button type="button" class="btn [1] [2] [3]">Click Me</button>
The class btn-primary gives the button a blue color, rounded-pill makes corners fully rounded, and btn-sm sets a smaller size. To make it large, replace btn-sm with btn-lg, but here the correct answer is to identify the classes given.