-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformsMedia.html
47 lines (44 loc) · 2.09 KB
/
formsMedia.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: default
title: User Registration Form
custom_css: forms
---
<button id="openbtn" class="openbtn" onclick="openNav()">☰</button>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-6 border rounded p-4 mt-5">
<h1 class="text-center mb-4">User Registration Form</h1>
<form id="registration-form" method="post">
<div class="form-group">
<label for="username">Username:</label>
<input type="text" class="form-control" id="username" name="username" required>
<small class="text-muted">Must be at least 3 characters long and contain only letters, numbers, and underscores.</small>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" class="form-control" id="password" name="password" required>
<small class="text-muted">Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number, and one special character (!@#$%^&*).</small>
</div>
<div class="form-group">
<label for="confirm-password">Confirm Password:</label>
<input type="password" class="form-control" id="confirm-password" name="confirm-password" required>
</div>
<div class="form-group">
<label for="birthdate">Birthdate:</label>
<input type="date" class="form-control" id="birthdate" name="birthdate" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Register</button>
</form>
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<!-- Bootstrap JS -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<!-- Custom JS -->
<script src="assets/js/forms.js"></script>