feat: Entferne Genauigkeits-Anzeige und runde WPM
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
parent
ecfc12dace
commit
e1baaf7490
2 changed files with 1 additions and 7 deletions
|
|
@ -183,9 +183,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
correctElement.textContent = data.correct_chars;
|
||||
incorrectElement.textContent = data.incorrect_chars;
|
||||
totalElement.textContent = data.total_chars;
|
||||
wpmElement.textContent = data.words_per_minute.toFixed(2);
|
||||
// Aktualisiere die Genauigkeit
|
||||
document.getElementById('accuracy').textContent = data.accuracy.toFixed(1) + '%';
|
||||
wpmElement.textContent = Math.round(data.words_per_minute);
|
||||
|
||||
// Aktualisiere die Textfarben
|
||||
updateTextHighlighting(userInput, currentText);
|
||||
|
|
|
|||
|
|
@ -58,10 +58,6 @@
|
|||
Wörter pro Minute (WPM)
|
||||
<span id="wpm" class="badge bg-info rounded-pill">0</span>
|
||||
</li>
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
Genauigkeit
|
||||
<span id="accuracy" class="badge bg-success rounded-pill">0%</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue