pull/23/head
parent
8569295b65
commit
b8994802cb
|
@ -588,11 +588,11 @@ import Layout from '../../layouts/Layout.astro';
|
|||
// console.log("Score Total", scoreTotal)
|
||||
}
|
||||
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)
|
||||
submitButton.setVisible(true);
|
||||
retryButton.setVisible(true);
|
||||
resultView.setVisible(true);
|
||||
// resultView.setVisible(true);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ import Layout from "../../layouts/Layout.astro";
|
|||
<!-- <p id="LearningSubArea"></p> -->
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
<form id="contactForm" class="">
|
||||
|
@ -35,7 +35,7 @@ import Layout from "../../layouts/Layout.astro";
|
|||
<div class="flex flex-col">
|
||||
<label for="a1" class="round-checkbox-label">
|
||||
<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>
|
||||
<input onclick="checkResult2('image1');" type="checkbox" id="a1" class="round-checkbox-input myCheckbox " value="a1"/>
|
||||
</div>
|
||||
|
@ -45,7 +45,7 @@ import Layout from "../../layouts/Layout.astro";
|
|||
<div class="flex flex-col">
|
||||
<label for="a2" class="round-checkbox-label">
|
||||
<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>
|
||||
<input onclick="checkResult2('image2');" type="checkbox" id="a2" class="round-checkbox-input myCheckbox " value="a2"/>
|
||||
</div>
|
||||
|
@ -54,7 +54,7 @@ import Layout from "../../layouts/Layout.astro";
|
|||
<div class="flex flex-col">
|
||||
<label for="a3" class="round-checkbox-label">
|
||||
<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>
|
||||
<input onclick="checkResult2('image3');" type="checkbox" id="a3" class="round-checkbox-input myCheckbox " value="a3"/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue