Skip to content

Commit c845456

Browse files
committed
Adding customer details fieldset
1 parent ab5dd55 commit c845456

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,17 @@ <h1>Product Pick</h1>
2323
-What is the customer's email? I must make sure the email is valid. Email addresses follow a consistent pattern
2424
-What colour should this T-shirt be? I must provide 3 options. How will I ensure they do not choose other colours?
2525
-What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL -->
26-
26+
<fieldset>
27+
<legend>Customer Information</legend>
28+
<p>
29+
<label for="customerName">Customer Name</label>
30+
<input id="customerName" name="customerName" type="text" pattern=".*\S.*\S.*" required>
31+
</p>
32+
<p>
33+
<label for="emailAddress">Email Address</label>
34+
<input id="emailAddress" name="emailAddress" type="email" required>
35+
</p>
36+
</fieldset>
2737

2838
</form>
2939
</main>

0 commit comments

Comments
 (0)