Skip to content

Commit b96c4ef

Browse files
committed
add form
1 parent a7b8a25 commit b96c4ef

1 file changed

Lines changed: 29 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -13,15 +13,38 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16-
<!-- write your html here-->
17-
<!--
18-
try writing out the requirements first as comments
19-
this will also help you fill in your PR message later-->
16+
<!-- name and email -->
17+
<label for="name">Name:</label>
18+
<input type="text" name="name" value="" />
19+
<label for="email">Email:</label>
20+
<input type="text" name="email" value="" />
21+
22+
<!-- colours -->
23+
<label for="color">Choose a color:</label>
24+
<select id="color" name="color">
25+
<option value="red">Red</option>
26+
<option value="green">Green</option>
27+
<option value="blue">Blue</option>
28+
</select>
29+
30+
<!-- sizes -->
31+
<label for="size">Choose a size:</label>
32+
<select id="size" name="size">
33+
<option value="XS">XS</option>
34+
<option value="S">S</option>
35+
<option value="M">M</option>
36+
<option value="L">L</option>
37+
<option value="XL">XL</option>
38+
<option value="XXL">XXL</option>
39+
</select>
40+
41+
<!-- submit -->
42+
<input type="submit" value="Submit" />
2043
</form>
2144
</main>
2245
<footer>
2346
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
47+
<p>By Vitalii Kmit</p>
2548
</footer>
2649
</body>
2750
</html>

0 commit comments

Comments
 (0)