Skip to content

Commit aa8d9a8

Browse files
authored
Update color select element attributes
i have rectified the errors regarding the white spaces in the "ID" and "Select name" attribute, i also used the validator.w3.org to check and it showed no errors
1 parent 71fbe22 commit aa8d9a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>My Store T-shirt Sales</h1>
2525

2626
<div>
2727
<label for="Color">Color</label>
28-
<select name="Select a color" id="Select a color" required>
28+
<select name="color" id="color" required>
2929
<option value="" disabled selected>-- select a color --</option>
3030
<option value="Black">Black</option>
3131
<option value="Blue">blue</option>

0 commit comments

Comments
 (0)