-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (45 loc) · 1.82 KB
/
index.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
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script src="https://unpkg.com/[email protected]/babel.js"></script>
</head>
<body>
<div class="container center">
<h1 class="text-center">Form Validation</h1>
<br>
<div class="row">
<div class="col-sm-12">
<form id="user-form" class="col-lg-6 offset-lg-3">
<div class="form-group">
<label for="first_name">Name</label>
<input type="text" name="firstName" class="form-control" id="first_name" placeholder="Name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" name="email" class="form-control" id="email" placeholder="Email">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" class="form-control" id="password" placeholder="Password">
</div>
<div class="form-group">
<label for="confirm_password">Confirm Password</label>
<input type="password" name="confirmPassword" class="form-control" id="confirm_password" placeholder="Confirm Password">
</div>
<div class="form-group">
<label for="customFile">Choose file</label>
<input type="file" class="form-control" id="customFile">
</div>
<br><br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
<!--JavaScript at end of body for optimized loading-->
<script type="text/javascript" src="validate.js"></script>
</body>
</html>