diff --git a/index.js b/index.js index 001595c..500d596 100644 --- a/index.js +++ b/index.js @@ -104,6 +104,7 @@ function setQ(n) { question.innerText = questions[n].title; } +var questionCounter = 0; function nextQ() { questionCounter++; setQ(questionCounter);