-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (46 loc) · 1.61 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
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JS WDH</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<main>
<div class="lev1">
<form action="" onsubmit="return false">
<h2>LEVEL 1_1</h2>
<h3>ZAHL EINGEBEN</h3>
<input type="number" name="" id="lvl1">
<input type="button" value="verdoppeln" onclick="double()">
<h3>ERGEBNIS:</h3>
<h2 id="resLvl1"></h2>
</form>
</div>
<div class="lev2">
<form action="" onsubmit="return false">
<h2>LEVEL 1_2</h2>
<h3>GEBURTSJAHR</h3>
<input type="number" name="" id="lvl2">
<input type="button" value="Alter ausrechnen" onclick="age()">
<h3>ALTER:</h3>
<h2 id="resLvl2"></h2>
</form>
</div>
<div class="lev3">
<form action="" onsubmit="return false">
<h2>LEVEL 1_3</h2>
<h3>ALTER</h3>
<input type="number" name="" id="lvl31" class="input3">
<input type="number" name="" id="lvl32" class="input3">
<input type="button" value="Differenz ausrechnen" onclick="difference()">
<h3>DIFFERENZ:</h3>
<h2 id="resLvl3"></h2>
</form>
</div>
</main>
<script src="./main.js"></script>
</body>
</html>