-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (37 loc) · 1.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kopfrechnen Trainer</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Trainer: 1x1</h1>
<div class="settings">
<label for="timeLimit">Zeitlimit (Sekunden):</label>
<input type="number" id="timeLimit" value="10" min="1" max="60">
<button id="startBtn" style="background-color: rgb(26, 122, 0);color: white;">Start</button>
<button id="stopBtn" class="hidden">Stopp</button>
<button id="resetBtn" class="danger">Daten zurücksetzen</button>
</div>
<div id="quizSection" class="hidden">
<p id="question">Frage erscheint hier</p>
<input type="number" id="answer" placeholder="Antwort eingeben">
<button id="submitBtn">Antworten</button>
<p id="timer">Zeit übrig: <span id="timeLeft"></span>s</p>
</div>
<div id="feedback" class="feedback"> </div>
<div id="matrixSection">
<h2>Ergebnisse</h2>
<table id="resultMatrix"></table>
</div>
<div id="errorSection" class="hidden">
<h2>Falsche Antworten</h2>
<ul id="errorList"></ul>
</div>
</div>
<script src="script.js"></script>
</body>
</html>