-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
35 lines (35 loc) · 1.09 KB
/
login.php
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
<?php include('server.php'); ?>
<!DOCTYPE html>
<html>
<head>
<title>login and register form design</title>
<link rel="stylesheet" href="log.css">
</head>
<body>
<div class="login-page">
<div class="form" >
<form class="register-form" method="POST">
<input type="text" placeholder="User Name"/>
<input type="email" placeholder="Email Id"/>
<input type="password" placeholder="Password"/>
<input type="password" placeholder="Confirm Password"/>
<input type="text" placeholder="Contact No."/>
<button> <b>Create</b></button>
<p class="message">Already registered ? <a href="#">login</a></p>
</form>
<form class="login-form">
<input type="text" placeholder="User Name"/>
<input type="text" placeholder="Password"/>
<button> <b>login</b></button>
<p class="message">Not Registered ? <a href="#">Register</a></p>
</form>
</div>
</div>
<script src='https://code.jquery.com/jquery-3.2.1.min.js'></script>
<script >
$('.message a').click(function(){
$('form').animate({height:"toggle" , opacity:"toggle"}, "slow");
});
</script>
</body>
</html>