Update learn.php

This commit is contained in:
2026-06-15 12:31:57 +02:00
parent 5be54b9c6a
commit c578021f30
+4 -5
View File
@@ -68,10 +68,6 @@ async function loadWord() {
async function check() {
const stats = document.getElementById('stats');
stats.innerText =
`Correct: ${data.debug?.updatedCorrect ?? '?'} | Wrong: ${data.debug?.updatedWrong ?? '?'}`;
const answer =
document.getElementById('answer').value;
@@ -99,7 +95,10 @@ async function check() {
result.innerText = "Fout";
result.style.color = "red";
}
const stats = document.getElementById('stats');
stats.innerText =
`Correct: ${data.debug?.updatedCorrect ?? '?'} | Wrong: ${data.debug?.updatedWrong ?? '?'}`;
setTimeout(loadWord, 700);
}