feat: Entferne Genauigkeits-Anzeige und runde WPM

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
jamulix 2025-10-21 20:38:55 +02:00
commit e1baaf7490
2 changed files with 1 additions and 7 deletions

View file

@ -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);

View file

@ -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>