There was an error while loading. Please reload this page.
1 parent 88b1696 commit baad5baCopy full SHA for baad5ba
1 file changed
Form-Controls/index.html
@@ -23,15 +23,17 @@ <h1>Product Pick</h1>
23
<!-- name and email -->
24
<label for="name">Name:</label>
25
<input
26
+ id="name"
27
required
28
type="text"
29
name="name"
30
value=""
- title="Only letters (2-50 characters)"
31
- pattern="^[a-zA-Z]{2,50}$"
+ title="Only letters and spaces (2-50 characters)"
32
+ pattern="^[a-zA-Z ]{2,50}$"
33
/>
34
+
35
<label for="email">Email:</label>
- <input required type="email" name="email" value="" />
36
+ <input required id="email" type="email" name="email" value="" />
37
38
<!-- colours -->
39
<label for="color">Choose a color:</label>
0 commit comments