Complete the code to add a Tailwind class that makes text bold.
<p class="[1]">This text is bold.</p>
In Tailwind, font-bold makes text bold. Other options are not valid Tailwind classes.
Complete the code to add a Bootstrap class that makes text bold.
<p class="[1]">This text is bold.</p>
Bootstrap uses fw-bold to make text bold. Tailwind uses font-bold.
Fix the error in the Tailwind button code by completing the missing class.
<button class="bg-blue-500 text-white py-2 px-4 rounded [1]">Click me</button>
In Tailwind, hover states use the prefix hover: followed by the class. So hover:bg-blue-700 is correct.
Fill both blanks to create a responsive grid with Tailwind that has 3 columns on medium screens and 1 column on small screens.
<div class="grid [1] [2] gap-4"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> </div>
Use grid-cols-1 for small screens (default) and md:grid-cols-3 for medium screens and up.
Fill all three blanks to create a Bootstrap button with primary color, large size, and rounded corners.
<button class="btn [1] [2] [3]">Submit</button>
Bootstrap uses btn-primary for primary color, btn-lg for large size, and rounded for rounded corners.