Skip to content

Commit

Permalink
update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
malay9418 committed Jan 31, 2024
1 parent e04976f commit 4b43507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<body>
<button style="position: fixed; bottom: 20px; display: block; left: 50%; transform: translateX(-50%); z-index: 1000; background-color: green;" class="btn" onclick="finalStep();">Accept Me</button>
<div id="final-popup" class="fadein"
style="display: block; background-color: #1E2444; height: 100vh; width: 100%; position: fixed; top: 0; left: 0; z-index: 10; flex-direction: column; align-items: center; padding-top: 10px; text-align: center;">
style="display: none; background-color: #1E2444; height: 100vh; width: 100%; position: fixed; top: 0; left: 0; z-index: 10; flex-direction: column; align-items: center; padding-top: 10px; text-align: center;">
<img src="./final.webp" />
<p style="color: white;">You lost it !</p>
<h1 style="font-family: sans-serif; color: red;">I WON YOU</h1>
Expand Down Expand Up @@ -312,7 +312,7 @@ <h3>Pay me my Kiss Tax Now !</h3>

function finalStep() {
document.getElementById('game-section').style.display = 'none';
document.body.removeChild(newBtn);
//document.body.removeChild(newBtn);
document.getElementById('game-section').classList.remove('blink');
document.getElementById('final-popup').style.display = 'flex';
}
Expand Down

0 comments on commit 4b43507

Please sign in to comment.