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 @@ -134,7 +134,7 @@ function triggerFullScreenImage() {
134134 videoOverlay . style . backgroundColor = "black" ;
135135
136136 const videoElement = document . createElement ( "video" ) ;
137- videoElement . src = "Windows .mp4" ;
137+ videoElement . src = "you-are-my-sunshine .mp4" ;
138138 videoElement . autoplay = true ;
139139 videoElement . loop = false ;
140140 videoElement . controls = false ;
@@ -1112,26 +1112,3 @@ function createMouseTrail(event) {
11121112 } , 1000 ) ;
11131113}
11141114
1115- function triggerTimeMachine ( ) {
1116- const randomIp = generateRandomIp ( ) ;
1117-
1118- const fakeIpElement = document . getElementById ( 'fake-ip' ) ;
1119- fakeIpElement . innerText = `Your IP Address: ${ randomIp } ` ; // Set the generated IP address
1120- fakeIpElement . style . display = 'block' ; // Show the IP address
1121-
1122- narrateIpAddress ( randomIp ) ;
1123- }
1124-
1125- function generateRandomIp ( ) {
1126- const randomPart = ( ) => Math . floor ( Math . random ( ) * 256 ) ;
1127- return `${ randomPart ( ) } .${ randomPart ( ) } .${ randomPart ( ) } .${ randomPart ( ) } ` ;
1128- }
1129-
1130- function narrateIpAddress ( ip ) {
1131- const utterance = new SpeechSynthesisUtterance ( `Your IP address is ${ ip } ` ) ;
1132- utterance . rate = 0.9 ;
1133- utterance . pitch = 1 ;
1134- speechSynthesis . speak ( utterance ) ;
1135- }
1136-
1137- displayIpMessage ( ) ;
You can’t perform that action at this time.
0 commit comments