Complete the code to apply a red background using Tailwind CSS.
<div class="bg-[1]-500 p-4 text-white">Hello World</div>
The class bg-red-500 sets a red background color in Tailwind CSS.
Complete the code to add padding of 6 units using Tailwind CSS.
<div class="p-[1] bg-gray-200">Content</div>
p-60 which is too large.p-0.6 which is invalid.The class p-6 adds padding of 1.5rem (6 units) on all sides.
Fix the error in the class list to apply a blue text color correctly.
<p class="text-[1]-500 font-bold">Blue text</p>
bg-blue-500 instead of text color.The class text-blue-500 sets the text color to blue at shade 500.
Fill both blanks to create a hover effect that changes text color to green and background to gray.
<button class="text-gray-700 hover:text-[1]-500 hover:bg-[2]-200 p-2 rounded">Click me</button>
The hover text color should be green (hover:text-green-500) and the hover background gray (hover:bg-gray-200).
Fill all three blanks to create a responsive card with shadow, padding, and rounded corners.
<div class="shadow-[1] p-[2] rounded-[3] bg-white max-w-sm mx-auto">Card content</div>
shadow-lg which is too large for this card.rounded-sm which is less rounded than md.The class shadow-sm adds a small shadow, p-6 adds padding, and rounded-md adds medium rounded corners.