Kuli in Pages is broken whyyy
All checks were successful
Deploy Online Pages / Pages-Deployment (push) Successful in 14s

This commit is contained in:
halsamen 2025-08-14 20:26:33 +09:00
parent cf8bf63f3a
commit d7cb005a68
2 changed files with 7 additions and 7 deletions

View File

@ -9,9 +9,9 @@
<body>
<div id="hamburger"><span></span><span></span><span></span></div>
<div id="scoreA">
<img src="../src/circle.svg" width="50px" height="50px" alt="○" >
<img src="src/circle.svg" width="50px" height="50px" alt="○" >
<span id="corrCntA"></span>
<img src="../src/cross.svg" width="50px" height="50px" alt="×">
<img src="src/cross.svg" width="50px" height="50px" alt="×">
<span id="wrongCntA"></span>
</div>
<table id="display">
@ -34,7 +34,7 @@
<div id="scoreB">
<img src="src/circle.svg" width="20px" height="20px" alt="○" >
<span id="corrCntB"></span>
<img src="src/cross.svg" width="20px" height="20px" alt="×">
<img src="src/cross.svg" width="20px" height="20px" alt="×">
<span id="wrongCntB"></span>
</div>
<div id="perfect">完美啊!</div>
@ -42,7 +42,7 @@
</div>
<div id="replay">重新开始</div>
</body>
<audio src="../../src/startQuiz.mp3" id="startSound"></audio>
<!--<audio src="../../src/startQuiz.mp3" id="startSound"></audio>-->
<audio src="src/correct.wav" id="corrSound"></audio>
<audio src="src/correct2.mp3" id="corrSound2"></audio>
<audio src="src/wrong.wav" id="wrongSound"></audio>

View File

@ -20,7 +20,7 @@ let wrongCntElemB = document.getElementById("wrongCntB");
let perfect = document.getElementById("perfect");
let imperfect = document.getElementById("imperfect");
let replay = document.getElementById("replay");
let startSound = document.getElementById("startSound");
//let startSound = document.getElementById("startSound");
let corrSound = document.getElementById("corrSound");
let corrSound2 = document.getElementById("corrSound2");
let wrongSound = document.getElementById("wrongSound");
@ -161,8 +161,8 @@ function quiz() {
function start() {
//初期値設定
[curWordIdx, curCorrIdx] = quiz();
startSound.currentTime = 0;
startSound.play();
// startSound.currentTime = 0;
// startSound.play();
corrCnt = 0;
wrongCnt = 0;
wrongs = [];