Commit 5401e5d 1 parent 15db62d commit 5401e5d Copy full SHA for 5401e5d
File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,33 @@ <h2>Login</h2>
154
154
</ div >
155
155
< button type ="submit " class ="submit-btn "> Login</ button >
156
156
</ form >
157
+ </ section >
158
+ < section id ="Sign up " class ="hidden ">
159
+ < h2 > "join us,sign up!"</ h2 >
160
+ < form id ="signup-form ">
161
+
162
+ < label for ="name "> Name:</ label >
163
+ < input type ="text " id ="name " name ="name " required > < br > < br >
164
+ < label for ="email "> Email:</ label >
165
+ < input type ="email " id ="email " name ="email " required > < br > < br >
166
+ < label for ="password "> Password:</ label >
167
+ < input type ="password " id ="password " name ="password " required > < br > < br >
168
+ < label for ="confirm-password "> Confirm Password:</ label >
169
+ < input type ="password " id ="confirm-password " name ="confirm-password " required > < br > < br >
170
+ < input type ="submit " value ="Sign up ">
171
+ </ forrm >
172
+ < p > Forget password? < a href ="# " id ="forget-password-link "> Click here</ a > </ p >
173
+ < form id ="forget-password-form " style ="display: none; ">
174
+ < h2 > Forget Password</ h2 >
175
+ < label for ="email "> Email:</ label >
176
+ < input type ="email " id ="email " name ="email " required > < br > < br >
177
+ < input type ="submit " value ="Send Reset Link ">
178
+ </ form >
179
+ < script >
180
+ document . getElementById ( 'forget-password-link' ) . addEventListener ( 'click' , function ( ) {
181
+ document . getElementById ( 'forget-password-form' ) . style . display = 'block' ;
182
+ } ) ;
183
+ </ script >
157
184
</ section >
158
185
</ main >
159
186
You can’t perform that action at this time.
0 commit comments