Skip to content

Commit b309cb2

Browse files
committed
Complete Form Controls task
1 parent f373295 commit b309cb2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ <h1>Product Pick</h1>
2121
required
2222
pattern=".*\S.*\S.*"
2323
/>
24+
<br><br>
2425
<label for="email">Email</label>
2526
<input
2627
type="email"
2728
id="email"
2829
name="email"
2930
required
3031
/>
31-
<fieldset>
32+
<br><br>
33+
<fieldset style="width:fit-content;">
3234
<legend>T-shirt Colour</legend>
3335

3436
<input
@@ -56,6 +58,7 @@ <h1>Product Pick</h1>
5658
/>
5759
<label for="black">Black</label>
5860
</fieldset>
61+
<br>
5962
<label for="size">T-shirt Size</label>
6063
<select id="size" name="size" required>
6164
<option value="">Choose a size</option>
@@ -66,6 +69,7 @@ <h1>Product Pick</h1>
6669
<option value="xl">XL</option>
6770
<option value="xxl">XXL</option>
6871
</select>
72+
<br><br>
6973
<button type="submit">Submit Order</button>
7074
</form>
7175
</main>

0 commit comments

Comments
 (0)