diff --git a/site/1/mathbox.html b/site/1/mathbox.html
index fcf21cf..9388400 100644
--- a/site/1/mathbox.html
+++ b/site/1/mathbox.html
@@ -275,6 +275,10 @@
document.getElementById("page-exercises").hidden = true;
document.getElementById("page-result").hidden = false;
+ document.getElementsByTagName("main").scrollTo({
+ behavior: "smooth",
+ });
+
const score = window.mathBoxState.exerciseCount - window.mathBoxState.wrongExerciseCount;
const total = window.mathBoxState.exerciseCount;
diff --git a/site/1/thermometer.html b/site/1/thermometer.html
index ff180f5..fd08eda 100644
--- a/site/1/thermometer.html
+++ b/site/1/thermometer.html
@@ -344,6 +344,10 @@
document.getElementById("page-exercises").hidden = true;
document.getElementById("page-result").hidden = false;
+ document.getElementsByTagName("main").scrollTo({
+ behavior: "smooth",
+ });
+
const score = window.thermomterState.exerciseCount - window.thermomterState.wrongExerciseCount;
const total = window.thermomterState.exerciseCount;
@@ -603,7 +607,7 @@
document.getElementById("exercise").scrollTo({
behavior: "smooth",
- })
+ });
}
function validateAnswer() {