Skip to content

Commit c93d2a7

Browse files
Created password input element
1 parent c0d5aa2 commit c93d2a7

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
@@ -34,6 +34,14 @@ <h1>Product Pick</h1>
3434
arial-describedby="emailHelp"</>
3535
<small id="emailHelp">Must be a valid email address</small>
3636
</section>
37+
<!-- Password-->
38+
<section class="form-group">
39+
<label for = "password">Password</label>
40+
<input type="password" id="password" name="password" required pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$"
41+
arial-describedby="passwordHelp"</>
42+
<small id="passwordHelp">Must be at least 8 characters long and include at least one uppercase letter, one lowercase letter, one number, and one special character</small>
43+
</section>
44+
3745

3846

3947
<!--

0 commit comments

Comments
 (0)