Skip to content

Commit a3484fd

Browse files
committed
feat: add full name input field
1 parent de31bb8 commit a3484fd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@ <h1>Product Pick</h1>
2222
6. No JavaScript allowed
2323
-->
2424

25-
2625
<fieldset>
2726
<legend>Customer Details</legend>
28-
<!-- name + email will go here -->
27+
<label for="name">Full Name</label>
28+
<input
29+
type="text"
30+
id="name"
31+
name="name"
32+
required
33+
pattern=".*\S.*\S.*"
34+
/>
2935
</fieldset>
3036

3137
<fieldset>

0 commit comments

Comments
 (0)