diff --git a/static/js/script.js b/static/js/script.js index 8d78274..b00194e 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -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); diff --git a/templates/index.html b/templates/index.html index 2f19aa0..823a581 100644 --- a/templates/index.html +++ b/templates/index.html @@ -58,10 +58,6 @@ Wörter pro Minute (WPM) 0 -
  • - Genauigkeit - 0% -