-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (44 loc) · 2.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>
<head>
<title>Hesap Makinesi</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="calculator dark">
<h1 class="name">Eray Beylik</h1>
<p class="song-lyrics">Ama sular akmıyodu Boe B'den önce</p>
<input type="text" id="display" disabled>
<div class="buttons">
<button class="btn" onclick="clearDisplay()">C</button>
<button class="btn" onclick="appendToDisplay('%')">%</button>
<button class="btn" onclick="calculateSquareRoot()">√</button>
<button class="btn" onclick="appendToDisplay('/')">/</button>
<button class="btn" onclick="appendToDisplay('7')">7</button>
<button class="btn" onclick="appendToDisplay('8')">8</button>
<button class="btn" onclick="appendToDisplay('9')">9</button>
<button class="btn" onclick="appendToDisplay('*')">*</button>
<button class="btn" onclick="appendToDisplay('4')">4</button>
<button class="btn" onclick="appendToDisplay('5')">5</button>
<button class="btn" onclick="appendToDisplay('6')">6</button>
<button class="btn" onclick="appendToDisplay('-')">-</button>
<button class="btn" onclick="appendToDisplay('1')">1</button>
<button class="btn" onclick="appendToDisplay('2')">2</button>
<button class="btn" onclick="appendToDisplay('3')">3</button>
<button class="btn" onclick="appendToDisplay('+')">+</button>
<button class="btn" onclick="appendToDisplay('0')">0</button>
<button class="btn" onclick="appendToDisplay('.')">.</button>
<button class="btn" onclick="appendToDisplay('(')">(</button>
<button class="btn" onclick="appendToDisplay(')')">)</button>
<button class="btn" onclick="appendToDisplay('^')">^</button>
<button class="btn equal" onclick="calculateResult()">=</button>
<button class="btn theme-toggle" onclick="toggleTheme()">🌙</button>
</div>
</div>
<div class="history">
<h2>İşlem Geçmişi</h2>
<ul id="history-list"></ul>
</div>
<script src="app.js"></script>
</body>
</html>