From 732f670b33b70a985f89ab7e8e587482459ce654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Thu, 23 May 2024 17:40:03 +0200 Subject: [PATCH] update --- fetch.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fetch.js b/fetch.js index 3b89ab6..84bd8a5 100644 --- a/fetch.js +++ b/fetch.js @@ -89,6 +89,11 @@ function parseAnswerElement(index, element, allAnswersElement) { const answersElement = getAnswersElement(index, allAnswersElement); if (answersElement === null || answersElement.tagName === "UL") return; + console.log({ + question: questionText, + answers: getAnswers(answersElement), + }); + return { question: questionText, answers: getAnswers(answersElement),