Skip to content

Commit 2feabbc

Browse files
authored
Merge pull request #50 from 0M4NU4L/main
Clumsy Time Machine & Final Call
2 parents 0a54cd3 + 81e05b8 commit 2feabbc

File tree

4 files changed

+3
-26
lines changed

4 files changed

+3
-26
lines changed

Windows.mp4

-1.34 MB
Binary file not shown.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ <h2 style="padding-top: 10px;">The Ghostly Revelation</h2>
5252
<div class="glitch-effect">
5353
<span class="glitch-text" style="display: inline-block; margin: 0 auto;">You can't escape!</span>
5454
</div>
55-
<button class="action-btn vanish-btn" id="ghost-button" onclick="playEerieSound()">
55+
<button class="action-btn vanish-btn" id="ghost-button" onclick="playEerieSound()">
5656
Discover the Secret
57-
</button>
57+
</button>
5858
</div>
5959

6060
<div class="card glitch" id="diwali-text">

script.js

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function triggerFullScreenImage() {
120120
videoOverlay.style.backgroundColor = "black";
121121

122122
const videoElement = document.createElement("video");
123-
videoElement.src = "Windows.mp4";
123+
videoElement.src = "you-are-my-sunshine.mp4";
124124
videoElement.autoplay = true;
125125
videoElement.loop = false;
126126
videoElement.controls = false;
@@ -1093,26 +1093,3 @@ function createMouseTrail(event) {
10931093
}, 1000);
10941094
}
10951095

1096-
function triggerTimeMachine() {
1097-
const randomIp = generateRandomIp();
1098-
1099-
const fakeIpElement = document.getElementById('fake-ip');
1100-
fakeIpElement.innerText = `Your IP Address: ${randomIp}`; // Set the generated IP address
1101-
fakeIpElement.style.display = 'block'; // Show the IP address
1102-
1103-
narrateIpAddress(randomIp);
1104-
}
1105-
1106-
function generateRandomIp() {
1107-
const randomPart = () => Math.floor(Math.random() * 256);
1108-
return `${randomPart()}.${randomPart()}.${randomPart()}.${randomPart()}`;
1109-
}
1110-
1111-
function narrateIpAddress(ip) {
1112-
const utterance = new SpeechSynthesisUtterance(`Your IP address is ${ip}`);
1113-
utterance.rate = 0.9;
1114-
utterance.pitch = 1;
1115-
speechSynthesis.speak(utterance);
1116-
}
1117-
1118-
displayIpMessage();

you-are-my-sunshine.mp4

1.35 MB
Binary file not shown.

0 commit comments

Comments
 (0)