diff --git a/learn.php b/learn.php index 10d03f6..5d10371 100644 --- a/learn.php +++ b/learn.php @@ -68,6 +68,10 @@ 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;