Skip to content

Commit 8446034

Browse files
committed
added color section with 3 options.
1 parent 1731f7d commit 8446034

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ <h1>Product Pick</h1>
1717
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*">
1818
<label for="email">Email:</label>
1919
<input type="email" id="email" name="email" required>
20+
<fieldset>
21+
<legend>Colour:</legend>
22+
<input type="radio" id="red" name="colour" value="red" required>
23+
<label for="red">Red</label>
24+
25+
<input type="radio" id="blue" name="colour" value="blue">
26+
<label for="blue">Blue</label>
27+
28+
<input type="radio" id="black" name="colour" value="black">
29+
<label for="black">Black</label>
30+
</fieldset>
2031
</form>
2132
</main>
2233
<footer>

0 commit comments

Comments
 (0)