Skip to content

Commit 1fe0fcc

Browse files
refactoring the label code to meet the consistency flow
1 parent 6b6f68b commit 1fe0fcc

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,12 @@ <h1>Product Pick</h1>
2929
<fieldset>
3030
<legend >T-shirt Color</legend>
3131
<div>
32-
<label for="black">
32+
<label for="black"> Black </label>
3333
<input type="radio" id="black" name="t-shirt-color" value="black" required>
34-
Black
35-
36-
</label>
37-
3834
</div>
3935
<div>
40-
<label for="red">
41-
<input type="radio" id="red" name="t-shirt-color" value="red">
42-
Red
43-
</label>
44-
36+
<label for="red">Red</label>
37+
<input type="radio" id="red" name="t-shirt-color" value="red">
4538
</div>
4639
<div>
4740
<label for="green">

0 commit comments

Comments
 (0)