Skip to content

Commit

Permalink
Update verbes.html
Browse files Browse the repository at this point in the history
  • Loading branch information
xpeuvr327 authored Feb 2, 2025
1 parent 9ce9c61 commit f02cfe6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ecole/verbes.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ <h2>Paramètres</h2>
let incorrectAnswers = 0;
let currentLevel = 1;
const LEVEL_THRESHOLD = 3; // Number of forms to consider a verb as completed

function toggleButton() {
@@ -567,6 +569,7 @@ <h2>${verb.deutsch}${verb.comment ? ` (${verb.comment})` : ''}</h2>
document.getElementById('progressCount').textContent = totalVerbsAttempted;
document.getElementById('successRate').textContent = successRate.toFixed(1);
document.getElementById('progressFill').style.width = `${progressPercentage}%`;
saveProgress();
}
async function fetchVerbs() {
try {
const response = await fetch('verbs-150.json');
Expand Down

0 comments on commit f02cfe6

Please sign in to comment.