abeea commited on
Commit
563e4bd
·
verified ·
1 Parent(s): 49e5bf2

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -5
index.html CHANGED
@@ -2694,7 +2694,7 @@ function showQuiz() {
2694
 
2695
  document.getElementById('quizQ').textContent = v.de;
2696
 
2697
- document.getElementById('quizCtx').textContent = v.ex ? e.g. "${v.ex}" : (v.ch === 1 ? 'Kapitel 1' : 'Kapitel 2');
2698
 
2699
  // 4 options: 1 correct + 3 wrong
2700
 
@@ -2732,7 +2732,7 @@ function showQuiz() {
2732
 
2733
  document.getElementById('quizProgress').style.width = pct+'%';
2734
 
2735
- document.getElementById('quizCounter').textContent = Question ${quizIdx+1} of ${quizPool.length};
2736
 
2737
  }
2738
 
@@ -2914,7 +2914,7 @@ function selectMatch(el, side, id) {
2914
 
2915
  addScore(3);
2916
 
2917
- document.getElementById('matchScore').textContent = Matched: ${matchedCount}/8;
2918
 
2919
  if (matchedCount === 8) {
2920
 
@@ -2978,7 +2978,7 @@ function showType() {
2978
 
2979
  document.getElementById('typeQ').textContent = v.en;
2980
 
2981
- document.getElementById('typeCtx').textContent = v.ex ? Context: "${v.ex}" : (v.ch === 1 ? 'Kapitel 1' : 'Kapitel 2');
2982
 
2983
  const inp = document.getElementById('typeInput');
2984
 
@@ -2998,7 +2998,7 @@ function showType() {
2998
 
2999
  document.getElementById('typeProgress').style.width = pct+'%';
3000
 
3001
- document.getElementById('typeCounter').textContent = Word ${typeIdx+1} of ${typePool.length};
3002
 
3003
  }
3004
 
 
2694
 
2695
  document.getElementById('quizQ').textContent = v.de;
2696
 
2697
+ document.getElementById('quizCtx').textContent = v.ex ? `e.g. "${v.ex}"` : (v.ch === 1 ? 'Kapitel 1' : 'Kapitel 2');
2698
 
2699
  // 4 options: 1 correct + 3 wrong
2700
 
 
2732
 
2733
  document.getElementById('quizProgress').style.width = pct+'%';
2734
 
2735
+ document.getElementById('quizCounter').textContent = `Question ${quizIdx+1} of ${quizPool.length}`;
2736
 
2737
  }
2738
 
 
2914
 
2915
  addScore(3);
2916
 
2917
+ document.getElementById('matchScore').textContent = `Matched: ${matchedCount}/8`;
2918
 
2919
  if (matchedCount === 8) {
2920
 
 
2978
 
2979
  document.getElementById('typeQ').textContent = v.en;
2980
 
2981
+ document.getElementById('typeCtx').textContent = v.ex ? `Context: "${v.ex}"` : (v.ch === 1 ? 'Kapitel 1' : 'Kapitel 2');
2982
 
2983
  const inp = document.getElementById('typeInput');
2984
 
 
2998
 
2999
  document.getElementById('typeProgress').style.width = pct+'%';
3000
 
3001
+ document.getElementById('typeCounter').textContent = `Word ${typeIdx+1} of ${typePool.length}`;
3002
 
3003
  }
3004