Skip to content

Commit 7d5b6cd

Browse files
created email inpute element
1 parent 6f1279a commit 7d5b6cd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Form-Controls/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ <h1>Product Pick</h1>
2727
arial-describedby="lnameHelp"</>
2828
<small id="lnameHelp">Must be at least 2 characters long</small>
2929
</div>
30+
<!-- Email-->
31+
<div class="form-group">
32+
<label for = "email">Email</label>
33+
<input type="email" id="email" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"
34+
arial-describedby="emailHelp"</>
35+
<small id="emailHelp">Must be a valid email address</small>
36+
</div>
3037

3138

3239
<!--

0 commit comments

Comments
 (0)