-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 3.15 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!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>Calculator</title>
<link rel="icon" href="./images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Changa:wght@700&display=swap" rel="stylesheet">
<script src="index.js" defer></script>
</head>
<body>
<div class="calculator">
<div class="display-background">
<div class="display">
<div class="equation"></div>
<div class="result"></div>
</div>
</div>
<div class="solar-cell-frame">
<div class="solar-cell">
<div class="solar-cell-part"></div>
<div class="solar-cell-part"></div>
<div class="solar-cell-part"></div>
<div class="solar-cell-part"></div>
<div class="solar-cell-part"></div>
<div class="solar-cell-part"></div>
</div>
</div>
<div class="buttons">
<div class="clear-buttons">
<button class="ce">CE</button>
<button class="c">C</button>
</div>
<div class="number-buttons">
<div id="n7-9">
<button class="number" id="n7">7</button>
<button class="number" id="n8">8</button>
<button class="number" id="n9">9</button>
</div>
<div id="n4-6">
<button class="number" id="n4">4</button>
<button class="number" id="n5">5</button>
<button class="number" id="n6">6</button>
</div>
<div id="n1-3">
<button class="number" id="n1">1</button>
<button class="number" id="n2">2</button>
<button class="number" id="n3">3</button>
</div>
<div id="n0-e">
<button class="number" id="n0">0</button>
<button class="number" id="d-point">.</button>
<button class="equal">=</button>
</div>
</div>
<div class="operator-buttons">
<div class="remainder-and-multiplication">
<button class="operator remainder">%</button>
<button class="operator multiplication">×</button>
</div>
<div class="subtraction-and-division">
<button class="operator subtraction">–</button>
<button class="operator division">÷</button>
</div>
<button class="operator addition">+</button>
</div>
</div>
</div>
<footer>
<span>Created by: Maddily</span>
<img src="images/github-mark-white.svg" alt="github icon">
</footer>
</body>
</html>