-
Notifications
You must be signed in to change notification settings - Fork 0
/
loginpage.html
38 lines (36 loc) · 1.21 KB
/
loginpage.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
<html>
<head>
<title>Login page</title>
<link rel="stylesheet" href="loginpagestyle.css">
</head>
<body>
<div class="hero">
<div class="form-box">
<div class="button-box">
<div id="btn"></div>
<button type="button" class="toggle-btn" onclick="login()">Log In</button>
</div>
<div class="social-icons">
<img src="login-reg-img/fb.png">
<img src="login-reg-img/tw.png">
<img src="login-reg-img/gp.png">
</div>
<form class="input-group">
<input type="text" class="input-field" placeholder="User Id" required>
<input type="text" class="input-field" placeholder="Enter Password" required>
<input type="checkbox" class="chech-box"><span>Remember Password</span>
<button type="submit" class="submit-btn">Log In</button>
</form>
</div>
</div>
<script>
var x = document.getElementById("login");
var z = document.getElementById("btn");
function login(){
x.style.left = "50px";
y.style.left = "450px";
z.style.left = "0px";
}
</script>
</body>
</html>