Skip to content

Commit 028d352

Browse files
committed
Add_form_fields
1 parent 57ce907 commit 028d352

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎Form-Controls/task-Tshirts‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,22 @@
5151
background: #555;
5252
}
5353
</style>
54-
</head>
54+
</head>
55+
56+
<body>
57+
<form>
58+
<h1>Order Your T‑Shirt</h1>
59+
60+
<!-- Customer Name -->
61+
<label for="customer-name">Customer Name</label>
62+
<input
63+
type="text"
64+
id="customer-name"
65+
name="customer-name"
66+
required
67+
pattern=".*\S.*\S.*"
68+
aria-describedby="nameHelp"
69+
>
70+
<small id="nameHelp">Name must contain at least two non‑space characters.</small>
71+
72+

0 commit comments

Comments
 (0)