Add 1 files
Browse files- index.html +6 -6
index.html
CHANGED
|
@@ -77,13 +77,13 @@
|
|
| 77 |
|
| 78 |
<div class="flex justify-center mb-12">
|
| 79 |
<div class="relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4" id="player-choice">
|
| 80 |
-
<div class="text-4xl md:text-5xl
|
| 81 |
</div>
|
| 82 |
<div class="flex items-center mx-4">
|
| 83 |
<div class="text-xl md:text-2xl font-bold" id="result-text">VS</div>
|
| 84 |
</div>
|
| 85 |
<div class="relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4" id="computer-choice">
|
| 86 |
-
<div class="text-4xl md:text-5xl
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
|
|
@@ -273,8 +273,8 @@
|
|
| 273 |
computerChoiceEl.classList.remove('pulse');
|
| 274 |
|
| 275 |
// Reset display for next round
|
| 276 |
-
playerIconEl.className = "
|
| 277 |
-
computerIconEl.className = "
|
| 278 |
playerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 279 |
computerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 280 |
resultTextEl.textContent = "VS";
|
|
@@ -313,8 +313,8 @@
|
|
| 313 |
roundEl.textContent = round;
|
| 314 |
|
| 315 |
// Reset choices display
|
| 316 |
-
playerIconEl.className = "
|
| 317 |
-
computerIconEl.className = "
|
| 318 |
playerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 319 |
computerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 320 |
resultTextEl.textContent = "VS";
|
|
|
|
| 77 |
|
| 78 |
<div class="flex justify-center mb-12">
|
| 79 |
<div class="relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4" id="player-choice">
|
| 80 |
+
<div class="text-4xl md:text-5xl" id="player-icon"></div>
|
| 81 |
</div>
|
| 82 |
<div class="flex items-center mx-4">
|
| 83 |
<div class="text-xl md:text-2xl font-bold" id="result-text">VS</div>
|
| 84 |
</div>
|
| 85 |
<div class="relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4" id="computer-choice">
|
| 86 |
+
<div class="text-4xl md:text-5xl" id="computer-icon"></div>
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
|
|
|
|
| 273 |
computerChoiceEl.classList.remove('pulse');
|
| 274 |
|
| 275 |
// Reset display for next round
|
| 276 |
+
playerIconEl.className = "";
|
| 277 |
+
computerIconEl.className = "";
|
| 278 |
playerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 279 |
computerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 280 |
resultTextEl.textContent = "VS";
|
|
|
|
| 313 |
roundEl.textContent = round;
|
| 314 |
|
| 315 |
// Reset choices display
|
| 316 |
+
playerIconEl.className = "";
|
| 317 |
+
computerIconEl.className = "";
|
| 318 |
playerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 319 |
computerChoiceEl.className = "relative w-32 h-32 md:w-40 md:h-40 bg-gray-800 rounded-full flex items-center justify-center mx-4";
|
| 320 |
resultTextEl.textContent = "VS";
|