Skip to content

Commit fd97af3

Browse files
committed
Add divs around inputs to start on new line
1 parent 086fc7b commit fd97af3

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,14 @@ <h1>Product Pick</h1>
5050

5151
<fieldset id="customer-info">
5252
<legend>Customer info</legend>
53-
<label for="name">Name</label>
54-
<input type="text" required pattern=".*\S.*\S.*" />
55-
<label for="email">Email</label>
56-
<input type="email" required />
53+
<div>
54+
<label for="name">Name</label>
55+
<input type="text" required pattern=".*\S.*\S.*" />
56+
</div>
57+
<div>
58+
<label for="email">Email</label>
59+
<input type="email" required />
60+
</div>
5761
</fieldset>
5862
<fieldset id="tshirt-info">
5963
<legend>T-shirt info</legend>

0 commit comments

Comments
 (0)