-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecretcalculator.html
More file actions
54 lines (49 loc) · 2.05 KB
/
secretcalculator.html
File metadata and controls
54 lines (49 loc) · 2.05 KB
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
53
54
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Geheimer Calculator</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<a href="index.html">Landing Page</a> |
<a href="about.html">Über mich</a> |
<a href="calc.html">Calculator</a> |
<a href="login.php">Login</a>
</nav>
</header>
<div class="container">
<div class="calculator-wrapper">
<div class="calculator">
<input type="number" id="display" readonly>
<div class="buttons">
<button onclick="appendNumber('7')">7</button>
<button onclick="appendNumber('8')">8</button>
<button onclick="appendNumber('9')">9</button>
<button onclick="chooseOperation('+')">+</button>
<button onclick="appendNumber('4')">4</button>
<button onclick="appendNumber('5')">5</button>
<button onclick="appendNumber('6')">6</button>
<button onclick="chooseOperation('-')">-</button>
<button onclick="appendNumber('1')">1</button>
<button onclick="appendNumber('2')">2</button>
<button onclick="appendNumber('3')">3</button>
<button onclick="chooseOperation('*')">*</button>
<button onclick="appendNumber('0')">0</button>
<button onclick="clearDisplay()">C</button>
<button onclick="calculate()">=</button>
<button onclick="chooseOperation('/')">/</button>
</div>
</div>
</div>
</div>
<script src="calc.js"></script>
</body>
<footer>
<p>© 2024 Roy Faust | Alle Rechte vorbehalten</p>
<p>Kontakt: <a href="1932175739@bildung.daa.de">Meine DAA-Mail</a>(Nur Intern erreichbar)</p>
</footer>
</html>