Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -208,7 +208,7 @@
|
|
208 |
}
|
209 |
|
210 |
function calculatePerformancePercentage(score) {
|
211 |
-
const topScore =
|
212 |
const percentage = Math.min(100, Math.max(0, (score / topScore) * 100));
|
213 |
return Math.round(percentage);
|
214 |
}
|
|
|
208 |
}
|
209 |
|
210 |
function calculatePerformancePercentage(score) {
|
211 |
+
const topScore = 30;
|
212 |
const percentage = Math.min(100, Math.max(0, (score / topScore) * 100));
|
213 |
return Math.round(percentage);
|
214 |
}
|