-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
78 lines (76 loc) · 2.18 KB
/
form.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width", width="device-width">
<title>Project Document</title>
<style>
.err{
color: red;
}
input{
padding: 10px 40px;
margin: 15px 0px;
border-radius: 20px;
background-color: white;
}
button{
padding: 20px 50px;
margin: 15px 0;
border-radius: 20px;
border: none;
color: white;
box-shadow: 1px 2px 2px;
background-color: orange;
}
form{
padding: 50px;
margin: 20px 10px;
align-items: center;
}
body{
background-color: rgb(26, 26, 26);
color: white;
font-size: 19px;
font-family: sans-serif;
}
.main_container{
background-color: rgb(48, 48, 48);
padding: 50px;
border-radius: 60px 60px;
align-items: center;
}
.main_container{
box-shadow: 2px 2px 4px 2px rgb(134, 134, 134);
}
</style>
</head>
<body>
<form id="password_resetform">
<center>
<diV style="border: 1px solid black; height: 440px;width: 70%;" class="main_container">
<h1>PASSWORD RESET WITH JAVASCRIPT</h1>
<p>
<label for="oldpassword">old password</label>
<input type="password" id="oldpassword" name="oldpassword">
<br>
<span class="err" data-err="oldpasswordErr"></span>
</p>
<p>
<label for="newpassword">new password</label>
<input type="password" id="newpassword" name="newpassword">
<br>
<span class="err" data-err="newpasswordErr"></span>
</p>
<p>
<label for="confirmpassword">confirm password</label>
<input type="password" id="confirmpassword" name="confirmpassword">
<br>
<span class="err" data-err="confirmpasswordErr"></span>
</p>
<button>reset</button>
</center>
</form>
<script src="form.js"></script>
</body>
</html>