Complete the code to apply a background color using Tailwind CSS.
<div class="bg-[1]-500 p-4 text-white">Hello, color system!</div>
The class bg-blue-500 sets a blue background color. Tailwind uses a color system with names like red, blue, etc.
Complete the code to set text color using Tailwind's color system.
<p class="text-[1]-700">This text uses a color system.</p>
The class text-green-700 sets the text color to a dark green shade. Tailwind uses color names with numeric shades.
Fix the error in the Tailwind class to correctly apply a border color.
<div class="border-[1]-400 p-2">Border color example</div>
The class border-purple-400 correctly sets the border color to a purple shade. Words like circle or bg are not valid color names.
Fill both blanks to create a button with a background and hover color using Tailwind's color system.
<button class="bg-[1]-600 hover:bg-[2]-700 text-white font-bold py-2 px-4 rounded">Click me</button>
The button uses bg-blue-600 for the background and hover:bg-red-700 for the hover effect. Both are valid Tailwind color names.
Fill all three blanks to create a card with border, background, and text colors using Tailwind's color system.
<div class="border-[1]-300 bg-[2]-100 text-[3]-800 p-6 rounded-lg">Card content</div>
The classes border-gray-300, bg-yellow-100, and text-purple-800 correctly set the border, background, and text colors using Tailwind's color system. gray, yellow, and purple are valid color names.