File tree Expand file tree Collapse file tree 4 files changed +3
-26
lines changed
Expand file tree Collapse file tree 4 files changed +3
-26
lines changed Original file line number Diff line number Diff 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 ">
Original file line number Diff line number Diff 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 can’t perform that action at this time.
0 commit comments