-
Notifications
You must be signed in to change notification settings - Fork 0
/
intropage.html
53 lines (51 loc) · 1.75 KB
/
intropage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Resume Generator</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body id="intro" >
<div class="container">
<header>
<!-- <h1>Resume Generator</h1> -->
</header>
<main>
<!-- <form id="login-form" onsubmit="return validateLogin()">
<div class="form-group">
<label for="username"> GitHub Username</label>
<input type="text" id="username" name="username" required />
</div>
<div class="form-group">
<label for="password">GitHub Password</label>
<input type="password" id="password" name="password" required />
</div>
<div class="form-group">
<label for="username"> Linkedin Username</label>
<input type="text" id="username" name="username" required />
</div>
<div class="form-group">
<label for="password">Linkedin Password</label>
<input type="password" id="password" name="password" required />
</div>
<button type="submit">Login</button>
</form> -->
</main>
</div>
<script>
function validateLogin() {
// Simple validation, can be extended
const username = document.getElementById("username").value;
const password = document.getElementById("password").value;
if (username === "user" && password === "pass") {
window.location.href = "selection.html";
return false;
} else {
alert("Invalid username or password");
return false;
}
}
</script>
</body>
</html>