-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage10.html
More file actions
executable file
·52 lines (45 loc) · 1.88 KB
/
page10.html
File metadata and controls
executable file
·52 lines (45 loc) · 1.88 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
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kłamstwo</title>
<link rel="stylesheet" href="styles1.css">
</head>
<body>
<h1>Koniec...</h1>
<!--A tutaj juz na zakończenie będzie coś o tej świeczce-->
To co... jesteśmy najedzeni,<br>
Wybawieni, szczęśliwi, zadowoleni<br>
Chyba wszystko już zrobiliśmy<br>
Co mieliśmy zrobić, więc<br>
Wracamy spowrotem do Lubania<br>
Mam nadzieję, że ci się spodobał dzień<br>
I że wszystko wyszło tak jak miało wyjść
<script>
function checkPassword(message, url) {
document.getElementById("password").style.display = null;
document.getElementById("smile").style.display = "none";
document.getElementById("b").innerHTML = "Mów prawdę";
const input = document.getElementById("password").value.toLowerCase().trimEnd();
const correctPassword = "kino"; // 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="*Udawany Smutek*">
<button class="button" id="smile" onclick="alert('🙂')">🙂</button>
<button class="button" id="b"
onclick="checkPassword('Dobra, mam nadzieję, ze nie jesteś zła, że plany ciut nie wypaliły... Tak w życiu bywa... 🤪','page11.html')">Czekaj, co?!?!
</button>
</div>
</div>
</body>
</html>