Skip to content

Commit 8ce5a1a

Browse files
creating form Fist name inpute element
1 parent ff7b9d0 commit 8ce5a1a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16-
<!-- write your html here-->
16+
<!-- First name-->
17+
<div class="form-group">
18+
<label for = "first-name">First Name</label>
19+
<input type="text" id="first-name" name="first-name" required pattern=".*\S.*\S.*"
20+
arial-describedby="fnameHelp"</>
21+
<small id="fnameHelp">Must be at least 2 characters long</small>
22+
</div>
23+
1724
<!--
1825
try writing out the requirements first as comments
1926
this will also help you fill in your PR message later-->

0 commit comments

Comments
 (0)