Skip to content

Commit 632ad1a

Browse files
change input name
1 parent ee957cb commit 632ad1a

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
@@ -15,11 +15,11 @@ <h1>Product Pick</h1>
1515
<form>
1616
<div>
1717
<label for="name">Name</label>
18-
<input type="text" id="name" required pattern=".*\S.*\S.*"/>
18+
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*"/>
1919
</div>
2020
<div>
2121
<label for="email">Email</label>
22-
<input type="email" id="email" required />
22+
<input type="email" id="email" name="email" required />
2323
</div>
2424
<div>
2525
<label for="color">Choose T-shirt color</label>

0 commit comments

Comments
 (0)