-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage1.html
More file actions
executable file
·50 lines (42 loc) · 1.77 KB
/
page1.html
File metadata and controls
executable file
·50 lines (42 loc) · 1.77 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>W pociągu</title>
<link rel="stylesheet" href="styles1.css">
</head>
<body>
<h1>W pociągu</h1>
Pewnie sobie myślisz co teraz będzie?<br>
I słusznie! Ja też sam nie wiem... nie powiem...<br>
Ale mam myśli, ze coś się zamęci<br>
I że ten dzień zapadnie Ci w pamięci<br>
Zabawa zacznie się zaraz, za moment<br>
Narazie musim przeczekać tę podróz<br>
Mozesz dać buzi, wtulić się i przespać<br>
Mozesz pogadać, pograć czy się pośmiać<br>
Teraz czas dla nas, więc go nie zmarnujmy<br>
W skrócie na zabawę się szykujmy :)
<!--Tutaj ogólnie krótki wstęp i zachęcenie do snu xddd-->
<script>
function checkPassword(message, url) {
document.getElementById("password").style.display = null;
const input = document.getElementById("password").value.toLowerCase().trimEnd();
const correctPassword = "dworzec"; // Replace with the actual password
if (input === correctPassword) {
location.href = url;
} else {
alert(message);
}
}
</script>
<div class="navigation" id="b" >
<div class="password-section">
<input type="text" id="password" style="display: none; border-radius: 10px; border: 2px solid pink; padding: 8px; background-color: #2c2c2c; color: white;" placeholder="Hasło <3">
<button class="button"
onclick="checkPassword('Nie mozesz iść dalej bez hasła, którego nie znasz 🤪\nAle spokojnie, poznasz w swoim czasie 😏','page2.html')">Dalej</button>
</div>
</div>
</body>
</html>