pull/23/head
Suvodip 2024-10-02 18:44:04 +05:30
parent 8569295b65
commit b8994802cb
2 changed files with 6 additions and 6 deletions

View File

@ -588,11 +588,11 @@ import Layout from '../../layouts/Layout.astro';
// console.log("Score Total", scoreTotal) // console.log("Score Total", scoreTotal)
} }
if(counter === 8){ if(counter === 8){
resultView = this.add.text(window.innerWidth / 2 - 100, window.innerHeight / 2 - 100, `Your Score: ${scoreTotal}`, {font: `24px`, fill: `#7c4c23`}).setVisible(false); // resultView = this.add.text(window.innerWidth / 2 - 100, window.innerHeight / 2 - 100, `Your Score: ${scoreTotal}`, {font: `24px`, fill: `#7c4c23`}).setVisible(false);
// console.log(counter) // console.log(counter)
submitButton.setVisible(true); submitButton.setVisible(true);
retryButton.setVisible(true); retryButton.setVisible(true);
resultView.setVisible(true); // resultView.setVisible(true);
} }
}; };
} }

View File

@ -26,7 +26,7 @@ import Layout from "../../layouts/Layout.astro";
<!-- <p id="LearningSubArea"></p> --> <!-- <p id="LearningSubArea"></p> -->
</div> </div>
<div class="flex flex-col justify-center place-items-center"> <div class="flex flex-col justify-center place-items-center">
<img class="md:w-[80%] lg:w-[35%]" draggable="false" id="descImage" src="" alt="" /> <img class="md:w-[40%] lg:w-[35%]" draggable="false" id="descImage" src="" alt="" />
<p class="text-2xl lg:text-4xl text-center font-[600] text-[#7c4c23] mb-0 select-none " id="gameLabel"></p> <p class="text-2xl lg:text-4xl text-center font-[600] text-[#7c4c23] mb-0 select-none " id="gameLabel"></p>
</div> </div>
<form id="contactForm" class=""> <form id="contactForm" class="">
@ -35,7 +35,7 @@ import Layout from "../../layouts/Layout.astro";
<div class="flex flex-col"> <div class="flex flex-col">
<label for="a1" class="round-checkbox-label"> <label for="a1" class="round-checkbox-label">
<div class="flex flex-col items-center justify-center"> <div class="flex flex-col items-center justify-center">
<img id="image1" src="" alt="" draggable="false" class="select-none w-[70%]" /> <img id="image1" src="" alt="" draggable="false" class="select-none" style="width: 150px;" />
<p id="label1"></p> <p id="label1"></p>
<input onclick="checkResult2('image1');" type="checkbox" id="a1" class="round-checkbox-input myCheckbox " value="a1"/> <input onclick="checkResult2('image1');" type="checkbox" id="a1" class="round-checkbox-input myCheckbox " value="a1"/>
</div> </div>
@ -45,7 +45,7 @@ import Layout from "../../layouts/Layout.astro";
<div class="flex flex-col"> <div class="flex flex-col">
<label for="a2" class="round-checkbox-label"> <label for="a2" class="round-checkbox-label">
<div class="flex flex-col items-center justify-center"> <div class="flex flex-col items-center justify-center">
<img id="image2" src="" alt="" draggable="false" class="select-none w-[70%]" /> <img id="image2" src="" alt="" draggable="false" class="select-none" style="width: 170px;" />
<p id="label2"></p> <p id="label2"></p>
<input onclick="checkResult2('image2');" type="checkbox" id="a2" class="round-checkbox-input myCheckbox " value="a2"/> <input onclick="checkResult2('image2');" type="checkbox" id="a2" class="round-checkbox-input myCheckbox " value="a2"/>
</div> </div>
@ -54,7 +54,7 @@ import Layout from "../../layouts/Layout.astro";
<div class="flex flex-col"> <div class="flex flex-col">
<label for="a3" class="round-checkbox-label"> <label for="a3" class="round-checkbox-label">
<div class="flex flex-col items-center justify-center"> <div class="flex flex-col items-center justify-center">
<img id="image3" src="" alt="" draggable="false" class="select-none w-[70%]" /> <img id="image3" src="" alt="" draggable="false" class="select-none" style="width: 170px;" />
<p id="label3"></p> <p id="label3"></p>
<input onclick="checkResult2('image3');" type="checkbox" id="a3" class="round-checkbox-input myCheckbox " value="a3"/> <input onclick="checkResult2('image3');" type="checkbox" id="a3" class="round-checkbox-input myCheckbox " value="a3"/>
</div> </div>