Skip to content

Commit fd4a8ac

Browse files
committed
Add name attribute to name and email inputs
1 parent 4fcef2b commit fd4a8ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ <h1>Product Pick</h1>
5252
<legend>Customer info</legend>
5353
<div>
5454
<label for="name">Name</label>
55-
<input type="text" required pattern=".*\S.*\S.*" />
55+
<input type="text" required name="name" pattern=".*\S.*\S.*" />
5656
</div>
5757
<div>
5858
<label for="email">Email</label>
59-
<input type="email" required />
59+
<input type="email" name="email" required />
6060
</div>
6161
</fieldset>
6262
<fieldset id="tshirt-info">

0 commit comments

Comments
 (0)