1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width ", width ="device-width ">
6+ < title > Project Document</ title >
7+ < style >
8+ .err {
9+ color : red;
10+
11+ }
12+ input {
13+ padding : 10px 40px ;
14+ margin : 15px 0px ;
15+ border-radius : 20px ;
16+ background-color : white;
17+ }
18+ button {
19+ padding : 20px 50px ;
20+ margin : 15px 0 ;
21+ border-radius : 20px ;
22+ border : none;
23+ color : white;
24+ box-shadow : 1px 2px 2px ;
25+ background-color : orange;
26+
27+ }
28+ form {
29+ padding : 50px ;
30+ margin : 20px 10px ;
31+ align-items : center;
32+ }
33+ body {
34+ background-color : rgb (26 , 26 , 26 );
35+ color : white;
36+ font-size : 19px ;
37+ font-family : sans-serif;
38+ }
39+ .main_container {
40+ background-color : rgb (48 , 48 , 48 );
41+ padding : 50px ;
42+ border-radius : 60px 60px ;
43+ align-items : center;
44+ }
45+ .main_container {
46+ box-shadow : 2px 2px 4px 2px rgb (134 , 134 , 134 );
47+ }
48+ </ style >
49+ </ head >
50+ < body >
51+ < form id ="password_resetform ">
52+ < center >
53+ < diV style ="border: 1px solid black; height: 440px;width: 70%; " class ="main_container ">
54+ < h1 > PASSWORD RESET WITH JAVASCRIPT</ h1 >
55+ < p >
56+ < label for ="oldpassword "> old password</ label >
57+ < input type ="password " id ="oldpassword " name ="oldpassword ">
58+ < br >
59+ < span class ="err " data-err ="oldpasswordErr "> </ span >
60+ </ p >
61+ < p >
62+ < label for ="newpassword "> new password</ label >
63+ < input type ="password " id ="newpassword " name ="newpassword ">
64+ < br >
65+ < span class ="err " data-err ="newpasswordErr "> </ span >
66+ </ p >
67+ < p >
68+ < label for ="confirmpassword "> confirm password</ label >
69+ < input type ="password " id ="confirmpassword " name ="confirmpassword ">
70+ < br >
71+ < span class ="err " data-err ="confirmpasswordErr "> </ span >
72+ </ p >
73+ < button > reset</ button >
74+ </ center >
75+ </ form >
76+ < script src ="form.js "> </ script >
77+ </ body >
78+ </ html >
0 commit comments