Skip to content

Commit 9326bc1

Browse files
committed
First commit of Complete Form
1 parent d28242a commit 9326bc1

1 file changed

Lines changed: 50 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,60 @@
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15-
<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-->
15+
<form action="results.html" method="GET">
16+
<div>
17+
<label for= "name"> Name </label>
18+
<input type= "text" name="Name" id="name" placeholder="Username" pattern=".*\S.*\S.*" title="Please enter at least two non-space characters." required>
19+
</div>
20+
21+
22+
<div>
23+
<label for="email"> Email</label>
24+
<input type= "email" name="Email" id="email" placeholder="Email" required>
25+
</div>
26+
T-shirt Color
27+
<div>
28+
<label for= "red">Red</label>
29+
<input type="radio" name="color" id="red" value="Red" required>
30+
</div>
31+
<div>
32+
<label for="blue">Blue</label>
33+
<input type="radio" name="color" id="blue" value="Blue">
34+
</div>
35+
36+
<div>
37+
<label for="pink">Pink</label>
38+
<input type="radio" name="color" id="pink" value="Pink">
39+
</div>
40+
41+
<div>
42+
<label for="size"> T-shirt Size's</label>
43+
<select name="T-shirt Size" id="size" required>
44+
45+
46+
<option label="Select a size " value=""></option>
47+
<option label="XS" value="XS"></option>
48+
<option label="S" value="S"></option>
49+
<option label="M" value="M"></option>
50+
<option label="L" value="L"></option>
51+
<option label="XL" value="XL"></option>
52+
<option label="XXL" value="XXL"></option>
53+
</select>
54+
55+
</div>
56+
57+
<div>
58+
<button type="reset">Reset</button>
59+
<button type="submit">Submit</button>
60+
61+
</div>
62+
2063
</form>
64+
2165
</main>
2266
<footer>
2367
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
68+
<p>By Perrila Tamang</p>
2569
</footer>
2670
</body>
2771
</html>

0 commit comments

Comments
 (0)