Skip to content

Commit 66bd2de

Browse files
Added Customer Details Field
1 parent 857487a commit 66bd2de

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,22 @@
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15+
1516
<form>
17+
18+
<fieldset>
19+
<legend>Your Details</legend>
20+
<p>
21+
<label for="name">Name:</label>
22+
<input type="text" name="name" id="name" placeholder="John Smith" required>
23+
</p>
24+
25+
<p>
26+
<label for="email">Email:</label>
27+
<input type="text" name="email" id="email" placeholder="example@email.com" required>
28+
</p>
29+
</fieldset>
30+
1631
<fieldset>
1732
<legend>Shirt Colour Options</legend>
1833
<p>
@@ -28,6 +43,7 @@ <h1>Product Pick</h1>
2843
<label for="colour_3">Green</label>
2944
</p>
3045
</fieldset>
46+
3147
<fieldset>
3248
<legend>Shirt Size Options</legend>
3349
<label for="size">Size Options</label>
@@ -37,9 +53,9 @@ <h1>Product Pick</h1>
3753
<option value="m">Medium</option>
3854
<option value="l">Large</option>
3955
<option value="xl">Extra Large</option>
56+
<option value="xll">Extra Extra Large</option>
4057
</select>
4158
</fieldset>
42-
4359
<!--
4460
Writing that out as a series of questions to ask yourself:
4561

0 commit comments

Comments
 (0)