-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (53 loc) · 1.77 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
<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" />
<!-- fotnawesome -->
<script
src="https://kit.fontawesome.com/c4ecdd0437.js"
crossorigin="anonymous"
></script>
<!--css style? -->
<link rel="stylesheet" href="style.css" />
<title>calculator</title>
</head>
<body>
<div class="calc">
<div class="calc-screen">
<div class="light-mode-btn"><i class="fas fa-sun"></i></div>
<div class="prev-operand">0</div>
<div class="current-operand">0 +</div>
<div class="history"></div>
</div>
<div class="calc-body">
<!-- row 1 -->
<button class="clear">C</button>
<button class="delete"><i class="fa-solid fa-delete-left"></i></button>
<button class="negative ">+/-</button>
<button class="operators f">%</button>
<!-- row 2 -->
<button class="nums">1</button>
<button class="nums">2</button>
<button class="nums">3</button>
<button class="operators">+</button>
<!-- row 3 -->
<button class="nums">4</button>
<button class="nums">5</button>
<button class="nums">6</button>
<button class="operators">-</button>
<!-- row 4 -->
<button class="nums">7</button>
<button class="nums">8</button>
<button class="nums">9</button>
<button class="operators">/</button>
<!-- row 5 -->
<button class="nums">0</button>
<button class="nums">.</button>
<button class="equal">=</button>
<button class="operators">x</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>