-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (45 loc) · 1.4 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
50
51
52
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Kleiner Notenrechner</title>
<link rel='stylesheet' href='index.css'>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<script type='module' src='index.js'></script>
<script type='module' src='./components/cdc-footer.js'></script>
</head>
<body>
<header>
<h1>Kleiner Notenrechner</h1>
</header>
<main>
<form>
<section>
<label for='pract'>Praktische Note</label>
<input type='number' id='pract' name='pract' min='1' max='5' required>
<span></span>
</section>
<section>
<label for='theo'>Theoretische Note</label>
<input type='number' id='theo' name='theo' min='1' max='5' required>
<span></span>
</section>
<section>
<label for='project'>Projektnote</label>
<input type='number' id='project' name='project' min='1' max='5' required>
<span></span>
</section>
<section>
<button type='reset' id='reset' name='reset'>Zurücksetzen</button>
<button type='button' id='calculate'>Berechnen</button>
</section>
<section>
<p>Gesamtnote: <span id='result'>?</span></p>
</section>
</form>
</main>
<cdc-footer></cdc-footer>
</body>
</html>