Skip to content

Commit 694558f

Browse files
committed
feat: all form fields completed.
1 parent 29f9281 commit 694558f

1 file changed

Lines changed: 55 additions & 7 deletions

File tree

Form-Controls/index.html

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,44 +26,92 @@ <h1>Product Pick</h1>
2626

2727
<div class="form-group">
2828
<label for="firstname">First Name</label>
29-
<input type="text" id="firstname" name="firstname" required>
29+
<input
30+
type="text"
31+
id="firstname"
32+
name="firstname"
33+
required
34+
pattern=""
35+
title=""
36+
>
3037
</div>
3138

3239
<div class="form-group">
3340
<label for="lastname">Last Name</label>
34-
<input type="text" id="lastname" name="lastname" required>
41+
<input
42+
type="text"
43+
id="lastname"
44+
name="lastname"
45+
required
46+
pattern=""
47+
title="">
3548
</div>
3649

3750
<div class="form-group">
3851
<label for="email">Email</label>
39-
<input type="email" id="email" name="email" required>
52+
<input
53+
type="email"
54+
id="email"
55+
name="email"
56+
required
57+
pattern=""
58+
title="">
4059
</div>
4160

4261
<div class="form-group">
4362
<fieldset>
4463
<legend>Choose a shirt color:</legend>
4564
<div class="form-group-fieldset">
46-
<input type="radio" id="choice1" name="shirt" value="blue">
65+
<input
66+
type="radio"
67+
id="choice1"
68+
name="shirt"
69+
value="blue"
70+
>
4771
<label for="choice1">Blue</label>
4872
</div>
4973

5074
<div class="form-group-fieldset">
51-
<input type="radio" id="choice2" name="shirt" value="green">
75+
<input
76+
type="radio"
77+
id="choice2"
78+
name="shirt"
79+
value="green"
80+
>
5281
<label for="choice2">Green</label>
5382
</div>
5483

5584
<div class="form-group-fieldset">
56-
<input type="radio" id="choice3" name="shirt" value="yellow">
85+
<input
86+
type="radio"
87+
id="choice3"
88+
name="shirt"
89+
value="yellow"
90+
>
5791
<label for="choice3">Yellow</label>
5892
</div>
5993
</fieldset>
6094
</div>
95+
96+
<div class="form-group">
97+
<label for="sizing">Choose a size:</label>
98+
<select id="sizing" name="size">
99+
<option value="">--Please choose an option--</option>
100+
<option value="ex-small">XS</option>
101+
<option value="small">S</option>
102+
<option value="medium">M</option>
103+
<option value="large">L</option>
104+
<option value="ex-large">XL</option>
105+
<option value="ex-ex-large">XXL</option>
106+
107+
</select>
108+
</div>
61109
</div>
62110
</form>
63111
</main>
64112
<footer>
65113
<!-- change to your name-->
66-
<p>By HOMEWORK SOLUTION</p>
114+
<p>By DAMILOLA ODUMOSU</p>
67115
</footer>
68116
</body>
69117
</html>

0 commit comments

Comments
 (0)