33 lines
951 B
HTML
33 lines
951 B
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Mathematik Lernen</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<h1>Mathematik Lernen</h1>
|
|
|
|
<div class="mode">
|
|
<button onclick="setMode('addition')">Addition</button>
|
|
<button onclick="setMode('subtraktion')">Subtraktion</button>
|
|
<button onclick="setMode('multiplikation')">Multiplikation</button>
|
|
</div>
|
|
|
|
<div class="question-box">
|
|
<h2 id="question">Klicke auf eine Rechenart, um zu beginnen</h2>
|
|
<input type="number" id="answer" placeholder="Deine Antwort">
|
|
<button onclick="checkAnswer()">Überprüfen</button>
|
|
<p id="result"></p>
|
|
</div>
|
|
|
|
<div class="score">
|
|
Punktzahl: <span id="score">0</span>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |