-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage6.html
More file actions
executable file
·40 lines (38 loc) · 1.5 KB
/
page6.html
File metadata and controls
executable file
·40 lines (38 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Park Trampolin</title>
<link rel="stylesheet" href="styles1.css">
</head>
<body>
<h1>Zabawa</h1>
Ach, czyli jednak już znasz prawdę 😏<br>
W takim razie teraz tylko musimy tam dojechać...<br>
I przy okazji się nie spóźnić 😅<br>
Naprawdę nie wiem ani gdzie to jest, ani jak tam trafić<br>
Ale nadzieja jest taka, że damy rade... może 😅
<script>
function checkPassword(message, url) {
document.getElementById("password").style.display = null;
const input = document.getElementById("password").value.toLowerCase().trimEnd();
const correctPassword = "magnolia"; // Replace with the actual password
if (input === correctPassword) {
location.href = url;
} else {
alert(message);
}
}
</script>
<div class="navigation">
<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 potem 😏">
<button class="button"
onclick="checkPassword('A dalej kochana to dowiesz się w swoim czasie 😏','page7.html')">Co dalej?</button>
</div>
</div>
</body>
</html>