Skip to content

Commit 6379ec9

Browse files
committed
Address review and feeedback
1 parent baee39a commit 6379ec9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Form-Controls/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<!-- T-shirt colour (required, choose 1 of 3 colours) -->
55
<!-- T-shirt size (required, choose 1 of XS, S, M, L, XL, XXL) -->
66
<!-- Submit button -->
7-
87
<!DOCTYPE html>
98
<html lang="en">
109
<head>
@@ -25,6 +24,7 @@ <h1>Product Pick</h1>
2524
<input
2625
type="text"
2726
id="name"
27+
autocomplete="name"
2828
name="name"
2929
required pattern=".*\S.*\S.*"
3030
/>
@@ -34,14 +34,15 @@ <h1>Product Pick</h1>
3434
type="email"
3535
id="email"
3636
name="email"
37+
autocomplete="email"
3738
required
3839
/>
3940
<fieldset>
4041
<!--Select T-shirt colour-->
4142
<legend>Choose T-shirt Colour</legend>
4243
<input type="radio" id="purple" name="colour" value="purple" required>
4344
<label for="purple">Purple</label>
44-
<input type="radio" id="white" name="colour" value="white">
45+
<input type="radio" id="white" name="colour" value="white" checked>
4546
<label for="white">White</label>
4647
<input type="radio" id="black" name="colour" value="black">
4748
<label for="black">Black</label>
@@ -53,7 +54,7 @@ <h1>Product Pick</h1>
5354
<label for="xs">XS</label>
5455
<input type="radio" id="s" name="size" value="S">
5556
<label for="s">S</label>
56-
<input type="radio" id="m" name="size" value="M">
57+
<input type="radio" id="m" name="size" value="M" checked>
5758
<label for="m">M</label>
5859
<input type="radio" id="l" name="size" value="L">
5960
<label for="l">L</label>

0 commit comments

Comments
 (0)