Skip to content

Commit d07be80

Browse files
authored
Update index.html
1 parent ff693a7 commit d07be80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
<body>
1111
<h1>進捗管理システム</h1>
1212
<div id="currentTime">現在時刻: [System Loading Now]</div>
13-
<div id="wordsToWrite">最終要求文字数: [System Loading Now]</div>
13+
<div id="wordsToWrite">要求文字数: [System Loading Now]</div>
1414
<div id="requiredWordsPerHour">時速: [System Loading Now]</div>
1515
<progress id="timeProgressBar" value="0" max="100" style="width: 100%"></progress>
1616
<progress id="wordProgressBar" value="0" max="100" style="width: 100%"></progress>
1717
<br />
1818
<h2>カスタムモード</h2>
19-
<label for="finalTargetWordCount">予定文字数: </label>
19+
<label for="finalTargetWordCount">最終予定文字数: </label>
2020
<input type="number" id="finalTargetWordCount" min="0" value="2500" data-id="word-count" />
2121
<br />
2222
<label for="startTime">開始時刻: </label>
@@ -81,7 +81,7 @@ <h2>カスタムモード</h2>
8181
);
8282
document.getElementById(
8383
"wordsToWrite"
84-
).innerHTML = `最終要求文字数: ${currentRequiredWordCount}字`;
84+
).innerHTML = `要求文字数: ${currentRequiredWordCount}字`;
8585

8686
let requiredWordsPerHour = Math.round((finalTargetWordCount - offsetWordCount) / totalSessionDurationHours);
8787
document.getElementById(
@@ -99,7 +99,7 @@ <h2>カスタムモード</h2>
9999
let nowWordCount = document.getElementById("nowWordCount").value;
100100

101101
document.getElementById("wordProgressBar").value =
102-
((nowWordCount - offsetWordCount) / finalTargetWordCount) * 100;
102+
((nowWordCount - offsetWordCount) / (finalTargetWordCount - offsetWordCount) * 100;
103103
}
104104

105105
// 全体の更新

0 commit comments

Comments
 (0)