Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sp-quiz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philip Kaluđerčić
sp-quiz
Commits
65e4f9aa
Commit
65e4f9aa
authored
1 year ago
by
Philip Kaluđerčić
Browse files
Options
Downloads
Patches
Plain Diff
Highlight correct and wrong answer count
parent
06bdb5aa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quiz.js
+3
-3
3 additions, 3 deletions
quiz.js
with
3 additions
and
3 deletions
quiz.js
+
3
−
3
View file @
65e4f9aa
...
...
@@ -2,7 +2,7 @@
// ./LICENSE for more details.
"
use strict
"
;
const
version
=
"
$Id: quiz.js,v 1.1
3
2024/01/
18 11:22:51
oj14ozun Exp oj14ozun $
"
;
const
version
=
"
$Id: quiz.js,v 1.1
4
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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment