Skip to content

Commit f4006e4

Browse files
committed
Add fieldset for T-shirt color
1 parent a8221e6 commit f4006e4

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Form-Controls/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ <h1>Product Pick</h1>
2121
<label for="email">Email:</label>
2222
<input type="email" id="email" name="email" required><br><br>
2323

24+
<!--fieldset for tshirt color-->
25+
<fieldset>
26+
<legend>T-Shirt Color</legend>
27+
<label><input type="radio" id="red" name="tshirt-color" value="red" required>Red</label><br>
28+
<label><input type="radio" id="blue" name="tshirt-color" value="blue" required>Blue</label><br>
29+
<label><input type="radio" id="green" name="tshirt-color" value="green" required>Green</label><br>
30+
</fieldset><br>
2431

25-
26-
<!--
27-
try writing out the requirements first as comments
28-
this will also help you fill in your PR message later-->
2932
</form>
3033
</main>
3134
<footer>

0 commit comments

Comments
 (0)