diff --git a/static/anatomy-quiz.html b/static/anatomy-quiz.html index ddbda0b..171f592 100644 --- a/static/anatomy-quiz.html +++ b/static/anatomy-quiz.html @@ -9,7 +9,7 @@
- +

Quiz

@@ -183,6 +183,8 @@ const terms_list = document.getElementById("quiz-terms"); function generate_quiz() { + terms_list.innerHTML = ""; + let weights = []; let types = []; @@ -556,6 +558,10 @@ "Iliopsoas" ]; + document + .getElementById("generator") + .addEventListener("click", generate_quiz); + generate_quiz();