-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpro-1.html
88 lines (70 loc) · 3.17 KB
/
pro-1.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
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form</title>
<link rel="stylesheet" href="pro-1.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="header">
<nav>
<a href="index.html"><img src="C:\Users\JESUS\Desktop\project\gallery\logo1.png" ></a>
<h1 style="color:lightyellow" >ALPHA MAP TECH</h1>
<div class="nav-links">
<ul>
<li><a href="">HOME</a></li>
<li><a href="">ABOUT</a></li>
<li><a href="">COURSES</a></li>
<li><a href="">CONTACT</a></li>
<li><a href="pro-1.html">LOGIN</a></li>
</ul>
</div>
</nav>
<div class="container">
<div class="form-box">
<div class="button-box">
<div id="btn"></div>
<button type="button" class="toggle-btn" onclick="Login()">Log in</button>
<button type="button" class="toggle-btn" onclick="Register()">Register</button>
</div>
<div class="icons">
<i class="fa fa-facebook"></i>
<i class="fa fa-twitter"></i>
<i class="fa fa-instagram"></i>
<i class="fa fa-linked-in"></i>
</div>
<form id="Login-form" class="input-group">
<input type="text" class="input-field" placeholder="User Name" id="required">
<input type="text" class="input-field" placeholder="Enter Password" id="required">
<input type="checkbox" class="check-box"><span>Remember Password</span>
<button type="submit" class="submit-btn">Log in</button>
</form>
<form id="Register-form" class="input-group">
<input type="text" class="input-field" placeholder="User Name" id="required">
<input type="text" class="input-field" placeholder="Enter Password" id="required">
<input type="email" class="input-field" placeholder="Email Id" id="required">
<input type="checkbox" class="check-box"><span>I agree the terms and conditions</span>
<button type="submit" class="submit-btn">Register</button>
</form>
</div>
</div>
</header>
<script>
var x = document.getElementById("Login-form");
var y = document.getElementById("Register-form");
var z = document.getElementById("btn");
function Register() {
x.style.left = "-400px";
y.style.left = "50px"
z.style.left = "110px"
}
function Login() {
x.style.left = "50px";
y.style.left = "450px"
z.style.left = "0"
}
</script>
</body>
</html>