-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (88 loc) · 4.2 KB
/
index.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<title>LOGIN</title>
</head>
<body>
<div class="img">
<img src="IMG/logo1.png" alt="img not found">
</div>
<section>
<h2>Make the most professional life</h2>
<form>
<div class="form-ep">
<label for="email">Email</label>
<input type="email" id="email">
</div>
<div class="form-ep">
<label for="password">Password (8 or more characters)</label>
<input type="password" id="password">
<i class="bi bi-eye-slash" id="togglePassword"></i>
</div>
<p>by clicking Agree & Join, you agree to the LinkedIn <a href="#">User Agreement</a>,<a href="#">Privacy
Policy</a> and <a href="https://www.google.com/" target="_blank">Cookie Policy</a>.</p>
<button class="btn-agree" type="button" onclick="storeData()">Agree & Join</button>
<div class="or">
<div class="rule"></div>
<h4>or</h4>
<div class="rule"></div>
</div>
<button class="btn-google">
<img src="IMG/google-logo.png" alt="image not found">
Join With Google
</button>
<p class="signin">Already on LinkedIn? <a href="#">Sign In</a>.</p>
</form>
<p class="help">Looking to create a page for a Business? <a href="#">Get Help</a></p>
</section>
<footer>
<div class="sep">
<div class="bottom">
<img src="IMG/logo.png" alt="image not found">
<p>©</p>
<p>2023</p>
</div>
<a href="https://about.linkedin.com/" target="_blank">About</a>
<a href="https://www.linkedin.com/accessibility?src=li-other&veh=www.linkedin.com&trk=content_footer-brand-policy" target="_blank">Accessibility</a>
<a href="https://www.linkedin.com/legal/user-agreement" target="_blank">User Agreement</a>
<a href="https://www.linkedin.com/legal/privacy-policy" target="_blank">Privacy Policy</a>
</div>
<div class="sep">
<a href="https://www.linkedin.com/legal/cookie-policy" target="_blank">Cookie Policy</a>
<a href="https://www.linkedin.com/legal/copyright-policy" target="_blank">Copyright Policy</a>
<a href="https://brand.linkedin.com/policies?trk=content_footer-brand-policy" target="_blank">Brand Policy</a>
<a href="https://www.linkedin.com/psettings/guest-controls?trk=content_footer-guest-controls" target="_blank">Guest Control</a>
<a href="https://www.linkedin.com/help/linkedin/answer/a403269?trk=content_footer-community-guide" target="_blank">Community Guidelines</a>
<a href="#">Language</a>
</div>
</footer>
<script>
const togglePassword = document.querySelector("#togglePassword");
const password = document.querySelector("#password");
togglePassword.addEventListener("click", function () {
const type = password.getAttribute("type") === "password" ? "text" : "password";
password.setAttribute("type", type);
this.classList.toggle("bi-eye");
});
const form = document.querySelector("form");
form.addEventListener('submit', function (e) {
e.preventDefault();
});
var loginDataArray = [];
function storeData() {
var email = document.getElementById('email').value;
var password = document.getElementById('password').value;
var loginData = {
email: email,
password: password
};
loginDataArray.push(loginData);
window.location.href = "second_webpage.html?data=" + encodeURIComponent(JSON.stringify(loginDataArray));
}
</script>
</body>
</html>