generated from github/codespaces-blank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWebpage.html
54 lines (48 loc) · 1.36 KB
/
Webpage.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
<!DOCTYPE html>
<html>
<head>
<title>AOD Clan Hangout</title>
<style>
/* CSS styles for the page */
body {
font-family: Arial, sans-serif;
text-align: center;
background-image: url(images/background.png);
background-size: cover;
margin: 0;
padding: 0;
}
.container {
margin-top: 100px;
}
.button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container">
<h1 style="color:white;">Welcome To The AOD Hangout Room</h1>
<button class="button" id="loginBtn">Login</button>
<button class="button" id="registerBtn">Register</button>
</div>
<script>
// Event listener for the Login button
document.getElementById("loginBtn").addEventListener("click", function() {
// Redirect the user to the login page
window.location.href = "Login.html";
});
// Event listener for the Register button
document.getElementById("registerBtn").addEventListener("click", function() {
// Redirect the user to the register page
window.location.href = "Register.html";
});
// JavaScript code specific to Login.html
// ... (Add your code for the Login page)
// JavaScript code specific to Register.html
// ... (Add your code for the Register page)
</script>
</body>
</html>