From dc30b764e6a6903d47c0b63b760bd81a122f1973 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Mon, 4 Dec 2023 14:09:15 +0200 Subject: [PATCH] prevQ --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 3d086c0..001595c 100644 --- a/index.js +++ b/index.js @@ -111,6 +111,11 @@ function nextQ() { } function prevQ() { + questionCounter--; + setQ(questionCounter); + if (questionCounter > 0) +} + } function questionSubmit() {