easy
+10 XP
FRONTEND
Tailwind Forms
Style a form with Tailwind: inputs, labels, error states, and spacing.
You're exploring as a guest. Create a free account to save progress and submit solutions.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="/styles.css" /> <script src="https://cdn.tailwindcss.com"></script> </head> <body> <form class="space-y-4"> <div> <label class="block text-sm font-medium">Name</label> <input class="mt-1 block w-full rounded border-gray-300" /> </div> </form> <script src="/index.js"></script> </body> </html>