Skip to content

Commit 395f009

Browse files
committed
edited html
1 parent 72fe02b commit 395f009

1 file changed

Lines changed: 25 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,34 @@ <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+
<label for="name">Your Full Name:</label>
17+
<input type="text" id="name" name="userName" required minlength="2"/>
18+
<label for="email">Your E-Mail:</label>
19+
<input type="email" id="email" name="userEmail" required/>
20+
<label for="color">T-Shirt Color:</label>
21+
<select id="color" name="userColor" required>
22+
<option value="">SELECT</option>
23+
<option value="r">Red</option>
24+
<option value="g">Green</option>
25+
<option value="b">Blue</option>
26+
</select>
27+
<label for="size">T-Shirt Size:</label>
28+
<select id="size" name="userSize" required>
29+
<option value="">SELECT</option>
30+
<option value="xs">XS</option>
31+
<option value="s">S</option>
32+
<option value="m">M</option>
33+
<option value="l">L</option>
34+
<option value="xl">XL</option>
35+
<option value="xxl">XXL</option>
36+
</select>
37+
<p>
38+
<button type="submit">Submit</button>
39+
</p>
2040
</form>
2141
</main>
2242
<footer>
23-
<!-- change to your name-->
24-
<h2>By HOMEWORK SOLUTION</h2>
43+
<h2>By Johnny Vargas</h2>
2544
</footer>
2645
</body>
2746
</html>

0 commit comments

Comments
 (0)