-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew user.html
More file actions
60 lines (50 loc) · 1.74 KB
/
new user.html
File metadata and controls
60 lines (50 loc) · 1.74 KB
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
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="formScript.js"></script>
</head>
<body>
<br>
<div class="container">
<div class="jumbotron">
<h2>Register with us</h2>
</div>
</div>
<div class="container">
<form class="form-horizontal" name="userForm" onsubmit="return validateForm()">
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="email" placeholder="Enter email" name="email">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Password:</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-success" onclick="onSubmit()">Submit</button>
<button type="reset" class="btn btn-danger" onclick="onReset()">Reset</button>
</div>
</div>
</form>
</div>
<div class="container">
<div class="jumbotron" id="userData">
<h2>Your Details:</h2>
<br>
<p>Email:</p>
<p>Password:</p>
</div>
</div>
</body>
</html>