Skip to content

Commit

Permalink
Fix indent in karuta.html
Browse files Browse the repository at this point in the history
  • Loading branch information
daiking1756 committed Nov 17, 2023
1 parent b6dda09 commit 0c3d55a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions karuta.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ <h2>御手付きの回数: <span id=wrong-count-text>0</span></h2>
questionText.textContent = drawnKaruta.name_ja;
currentKaruta = drawnKaruta;
if (data.length == 0) {
if(wrongCount == 0) {
alert("素晴らしい!君は高専博士だ!")
} else if (wrongCount > 1 && wrongCount < 10) {
alert("すごい!君は高専マニアだ!")
} else if (wrongCount > 11 && wrongCount < 20) {
alert("いいね!君は高専人だ!")
} else {
alert("お疲れ様。それぞれの高専のことを覚えてくれたかな?")
}
if(wrongCount == 0) {
alert("素晴らしい!君は高専博士だ!")
} else if (wrongCount > 1 && wrongCount < 10) {
alert("すごい!君は高専マニアだ!")
} else if (wrongCount > 11 && wrongCount < 20) {
alert("いいね!君は高専人だ!")
} else {
alert("お疲れ様。それぞれの高専のことを覚えてくれたかな?")
}
}
}

Expand Down

0 comments on commit 0c3d55a

Please sign in to comment.