Skip to content

Commit 059e6e5

Browse files
author
Diana Ausiejute
committed
Add t-shirt color picker
1 parent d28242a commit 059e6e5

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,20 @@ <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+
17+
<fieldset>
18+
<legend>T-shirt color</legend>
19+
20+
<input type="radio" id="blue" name="color" value="B" />
21+
<label for="blue">Blue</label><br />
22+
23+
<input type="radio" id="green" name="color" value="G" />
24+
<label for="green">Green</label><br />
25+
26+
<input type="radio" id="red" name="color" value="R" />
27+
<label for="red">Red</label>
28+
</fieldset>
29+
2030
</form>
2131
</main>
2232
<footer>
@@ -25,3 +35,13 @@ <h1>Product Pick</h1>
2535
</footer>
2636
</body>
2737
</html>
38+
39+
40+
<!--
41+
NAME [at least 2 non space char]. .*\S.*\S.*
42+
43+
EMAIL [valid]
44+
45+
T-SHIRT COLOR [3 options, 1 choice only; radio]
46+
47+
SIZE [6 options, xs, s, m, l, xl, xxl ]-->

0 commit comments

Comments
 (0)