Skip to content
Snippets Groups Projects
Commit 65e4f9aa authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Highlight correct and wrong answer count

parent 06bdb5aa
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment