Refactor quiz timer logic for improved precision and update result storage

This commit is contained in:
2025-01-30 17:11:13 +02:00
parent 823c27e5ca
commit b9d7597e23
2 changed files with 11 additions and 7 deletions

View File

@@ -13,15 +13,14 @@
</head>
<body>
<div id="quiz-container">
<div id="timer">
<span id="timer-label">Time remaining:</span> <span id="time">25</span>s
</div>
<div id="quiz">
<div id="chart"></div>
<div id="question-block">
<div id="question-text"></div>
<div id="options"></div>
<!-- Removed submit button -->
<div id="timer">
<span id="timer-label">Time remaining:</span> <span id="time">25</span>s
</div>
</div>
</div>
<div id="results"></div>