Kuli in Pages is broken whyyy
All checks were successful
Deploy Online Pages / Pages-Deployment (push) Successful in 14s
All checks were successful
Deploy Online Pages / Pages-Deployment (push) Successful in 14s
This commit is contained in:
parent
cf8bf63f3a
commit
d7cb005a68
@ -9,9 +9,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="hamburger"><span></span><span></span><span></span></div>
|
<div id="hamburger"><span></span><span></span><span></span></div>
|
||||||
<div id="scoreA">
|
<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>
|
<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>
|
<span id="wrongCntA"></span>
|
||||||
</div>
|
</div>
|
||||||
<table id="display">
|
<table id="display">
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<div id="scoreB">
|
<div id="scoreB">
|
||||||
<img src="src/circle.svg" width="20px" height="20px" alt="○" >
|
<img src="src/circle.svg" width="20px" height="20px" alt="○" >
|
||||||
<span id="corrCntB"></span>
|
<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>
|
<span id="wrongCntB"></span>
|
||||||
</div>
|
</div>
|
||||||
<div id="perfect">完美啊!</div>
|
<div id="perfect">完美啊!</div>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="replay">重新开始</div>
|
<div id="replay">重新开始</div>
|
||||||
</body>
|
</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/correct.wav" id="corrSound"></audio>
|
||||||
<audio src="src/correct2.mp3" id="corrSound2"></audio>
|
<audio src="src/correct2.mp3" id="corrSound2"></audio>
|
||||||
<audio src="src/wrong.wav" id="wrongSound"></audio>
|
<audio src="src/wrong.wav" id="wrongSound"></audio>
|
||||||
|
@ -20,7 +20,7 @@ let wrongCntElemB = document.getElementById("wrongCntB");
|
|||||||
let perfect = document.getElementById("perfect");
|
let perfect = document.getElementById("perfect");
|
||||||
let imperfect = document.getElementById("imperfect");
|
let imperfect = document.getElementById("imperfect");
|
||||||
let replay = document.getElementById("replay");
|
let replay = document.getElementById("replay");
|
||||||
let startSound = document.getElementById("startSound");
|
//let startSound = document.getElementById("startSound");
|
||||||
let corrSound = document.getElementById("corrSound");
|
let corrSound = document.getElementById("corrSound");
|
||||||
let corrSound2 = document.getElementById("corrSound2");
|
let corrSound2 = document.getElementById("corrSound2");
|
||||||
let wrongSound = document.getElementById("wrongSound");
|
let wrongSound = document.getElementById("wrongSound");
|
||||||
@ -161,8 +161,8 @@ function quiz() {
|
|||||||
function start() {
|
function start() {
|
||||||
//初期値設定
|
//初期値設定
|
||||||
[curWordIdx, curCorrIdx] = quiz();
|
[curWordIdx, curCorrIdx] = quiz();
|
||||||
startSound.currentTime = 0;
|
// startSound.currentTime = 0;
|
||||||
startSound.play();
|
// startSound.play();
|
||||||
corrCnt = 0;
|
corrCnt = 0;
|
||||||
wrongCnt = 0;
|
wrongCnt = 0;
|
||||||
wrongs = [];
|
wrongs = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user