From 65e4f9aa900b72e5816e136389d0dd0c5326bddc Mon Sep 17 00:00:00 2001 From: Philip Kaludercic <philip.kaludercic@fau.de> Date: Sat, 20 Jan 2024 10:00:26 +0000 Subject: [PATCH] Highlight correct and wrong answer count --- quiz.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quiz.js b/quiz.js index 58129d3..ecd40b0 100644 --- a/quiz.js +++ b/quiz.js @@ -2,7 +2,7 @@ // ./LICENSE for more details. "use strict"; -const version = "$Id: quiz.js,v 1.13 2024/01/18 11:22:51 oj14ozun Exp oj14ozun $"; +const version = "$Id: quiz.js,v 1.14 2024/01/20 09:55:10 oj14ozun Exp oj14ozun $"; const js_version = document.getElementById("js-version"); js_version.innerHTML = version; @@ -55,8 +55,8 @@ function update_stats(q) { // update stats stats.innerHTML = - "<abbr title=\"Wie oft richtig\">" + data.right + "</abbr>:" - + "<abbr title=\"Wie oft falsch\">" + data.wrong + "</abbr>"; + "<abbr title=\"Wie oft richtig\" class=\"correct\">" + data.right + "</abbr>:" + + "<abbr title=\"Wie oft falsch\" class=\"wrong\">" + data.wrong + "</abbr>"; } function remember(q, ok) { -- GitLab