Skip to content

Commit eaa2c1e

Browse files
committed
Added size label
1 parent 9cd31c8 commit eaa2c1e

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ <h1>Product Pick</h1>
3737
<input type="radio" id="grey" name="color" value="grey" required>
3838
<label for="grey">Grey</label>
3939

40-
<label id="special-label">Size</label>
41-
4240
<select id="size" name="size" required>
4341
<option value="">--select a size--</option>
4442
<option value="XS">XS</option>
@@ -49,7 +47,8 @@ <h1>Product Pick</h1>
4947
<option value="XXL">XXL</option>
5048
</select>
5149

52-
<button>Submit</button>
50+
<input type="submit" value="Submit">
51+
5352
</fieldset>
5453

5554
</form>

‎Form-Controls/style.css‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ form {
44
padding: 1em;
55
border: 1px solid #cccccc;
66
border-radius: 1em;
7+
78
}
89
#size {
910
display: block;
1011
text-align: left;
11-
padding: 10px;
1212
}
1313

1414
button {
1515
display: block;
1616
background-color: black;
1717
color: white;
18-
padding: 10px;
1918
}

0 commit comments

Comments
 (0)