diff --git a/site/1/rekendoos.html b/site/1/rekendoos.html index c9f316c..ec5c5ed 100644 --- a/site/1/rekendoos.html +++ b/site/1/rekendoos.html @@ -15,6 +15,10 @@ @@ -82,13 +107,13 @@

rekendoos ➕➖🟰


-
+
-
+
-
+
@@ -181,24 +206,35 @@

`; break; case "splitsen": + formExercise = document.getElementById("form-exercise"); + formExercise.innerHTML = ` +

+ ${exercise.answer} +

+

+ /  \ +

+ `; if (Math.floor(Math.random() * 2) + 1 === 1) { - document.getElementById("form-exercise").innerHTML = ` - ${exercise.a} + - - - = ${exercise.answer} -
- + document.getElementById("form-exercise").innerHTML += ` +

+ ${exercise.a} + + +

`; } else { - document.getElementById("form-exercise").innerHTML = ` - - - + ${exercise.b} = ${exercise.answer} -
- + document.getElementById("form-exercise").innerHTML += ` +

+ + + ${exercise.b} +

`; } + formExercise.innerHTML += ` + + `; break; } }