Skip to content

Commit 6f1279a

Browse files
created form last name inpute element
1 parent 8ce5a1a commit 6f1279a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ <h1>Product Pick</h1>
2020
arial-describedby="fnameHelp"</>
2121
<small id="fnameHelp">Must be at least 2 characters long</small>
2222
</div>
23+
<!-- Last name-->
24+
<div class="form-group">
25+
<label for = "last-name">Last Name</label>
26+
<input type="text" id="last-name" name="last-name" required pattern=".*\S.*\S.*"
27+
arial-describedby="lnameHelp"</>
28+
<small id="lnameHelp">Must be at least 2 characters long</small>
29+
</div>
30+
2331

2432
<!--
2533
try writing out the requirements first as comments

0 commit comments

Comments
 (0)