Skip to content

Commit e64b174

Browse files
fixing issues raised in the PR review
1 parent 5923885 commit e64b174

1 file changed

Lines changed: 5 additions & 15 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>Product Pick</h1>
1616
<main>
1717
<form>
1818
<div id="fn">
19-
<label for="fname">Please Enter your First name:</label>
19+
<label for="fname">Please Enter your name:</label>
2020
<input
2121
type="text"
2222
id="fname"
@@ -26,23 +26,13 @@ <h1>Product Pick</h1>
2626
/>
2727
<br />
2828
</div>
29-
<div id="sn">
30-
<label for="lname">Please Enter your Last name:</label>
31-
<input
32-
type="text"
33-
id="lname"
34-
name="lname"
35-
pattern=".*\S.*\S.*"
36-
required
37-
/>
38-
<br />
39-
</div>
29+
4030
<div id="em">
4131
<label for="email">Please Enter your Email:</label>
42-
<input type="email" id="email" name="email" required /><br />
32+
<input type="email" id="email" required /><br />
4333
</div>
4434
<div class="colorSelection">
45-
<label>Please pick a color:</label> <br />
35+
<label for="colorOption">Please pick a color:</label> <br />
4636
<div class="colorOption">
4737
<label for="blueOption">Blue</label>
4838
<div class="square" id="blueOptions">
@@ -69,7 +59,7 @@ <h1>Product Pick</h1>
6959
</div>
7060
</div>
7161
<div id="sizediv">
72-
<label>Please select the t-shirt size:</label> <br />
62+
<label for="sizeOption">Please select the t-shirt size:</label> <br />
7363
<div class="colorSelection">
7464
<div class="sizeOption">
7565
<label for="xs">XS</label>

0 commit comments

Comments
 (0)