Skip to content

Commit bcdc271

Browse files
Fix label typo and restructure form elements in index.html
1 parent ec01d92 commit bcdc271

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,19 @@ <h1>Product Pick</h1>
2020
try writing out the requirements first as comments
2121
this will also help you fill in your PR message later-->
2222

23-
<label for="name">Name</label>
24-
<input type="text" for="name" id="name">
25-
<button>Submit</button>
23+
<p>
24+
<label for="name">Name</label>
25+
<input pattern="`.*\S.*\S.*`" type="text" for="name" id="name">
26+
</p>
2627

28+
29+
<p>
2730
<lable>Email</lable>
2831
<input type="email" for="email" id="email">
32+
</p>
33+
2934

35+
<button>Submit</button>
3036

3137

3238

0 commit comments

Comments
 (0)