Skip to content

Commit b858e18

Browse files
committed
added divs and contents
1 parent a7b8a25 commit b858e18

1 file changed

Lines changed: 39 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,45 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16-
<!-- write your html here-->
16+
<div>
17+
<!--Valid Name-->
18+
<label for="Name">Name:</label>
19+
<input type="text" minlength="2" id="Name" required>
20+
</div>
21+
<br>
22+
<div>
23+
<!--Valid Email-->
24+
<label for="Email" >Email Address:</label>
25+
<input type="email" id="Email" required>
26+
</div>
27+
<br>
28+
<div>
29+
<!--Select Colour-->
30+
<label for="Colour">Colour:</label>
31+
<select id="Colour">
32+
<option value="Red">Red</option>
33+
<option value="Green">Green</option>
34+
<option value="Blue">Blue</option>
35+
</select>
36+
</div>
37+
<br>
38+
<div>
39+
<!--Select Size-->
40+
<label for="Colour">Size:</label>
41+
<select id="Colour">
42+
<option value="XS">XS</option>
43+
<option value="S">S</option>
44+
<option value="M">M</option>
45+
<option value="L">L</option>
46+
<option value="XL">XL</option>
47+
<option value="XXL">XXL</option>
48+
</select>
49+
</div>
50+
<br>
51+
<div>
52+
<!--Submit Button-->
53+
<button type="submit">Submit</button>
54+
</div>
1755
<!--
1856
try writing out the requirements first as comments
1957
this will also help you fill in your PR message later-->

0 commit comments

Comments
 (0)