Skip to content

Commit e74b994

Browse files
committed
fixed for id and name attributes
1 parent b858e18 commit e74b994

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Form-Controls/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ <h1>Product Pick</h1>
1515
<form>
1616
<div>
1717
<!--Valid Name-->
18-
<label for="Name">Name:</label>
19-
<input type="text" minlength="2" id="Name" required>
18+
<label for="name">Name:</label>
19+
<input type="text" minlength="2" id="name" name="name" required>
2020
</div>
2121
<br>
2222
<div>
2323
<!--Valid Email-->
24-
<label for="Email" >Email Address:</label>
25-
<input type="email" id="Email" required>
24+
<label for="email" >Email Address:</label>
25+
<input type="email" id="email" name="email" required>
2626
</div>
2727
<br>
2828
<div>
2929
<!--Select Colour-->
30-
<label for="Colour">Colour:</label>
31-
<select id="Colour">
30+
<label for="colour">Colour:</label>
31+
<select id="colour" name="colour">
3232
<option value="Red">Red</option>
3333
<option value="Green">Green</option>
3434
<option value="Blue">Blue</option>
@@ -37,8 +37,8 @@ <h1>Product Pick</h1>
3737
<br>
3838
<div>
3939
<!--Select Size-->
40-
<label for="Colour">Size:</label>
41-
<select id="Colour">
40+
<label for="size">Size:</label>
41+
<select id="size" name="size">
4242
<option value="XS">XS</option>
4343
<option value="S">S</option>
4444
<option value="M">M</option>

0 commit comments

Comments
 (0)