forked from faaiz-space/hut-calci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calc.html
100 lines (73 loc) · 3.42 KB
/
calc.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!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="stylesheet" href="calc.css">
<link href="https://fonts.googleapis.com/css2?family=Baloo+Da+2&display=swap" rel="stylesheet">
</head>
<body>
<button id="modeLap" onclick="changeMode()">
</button>
<div class="slide">
<button onclick="showNav()" id="showBtn">
>
</button>
<button id="mode" onclick="changeMode()">
</button>
</div>
<ul class="nav_elements" id="nav_id">
<li><a href="./index.html">Home</a></li>
<li><a href="./index.html">Card</a></li>
<li><a href="./calc.html">CalC</a></li>
<li><a href="./contact.html" class="contact">Contact</a></li>
</ul>
<div class="bodyCont">
<div class="calc-container">
<div class="calc" id="" mainCalc>
<input type="text" class="input" placeholder="0">
<div class="symbolsHidden">
<button onclick="lBrac()" id="lBrac" class="symbool">(</button>
<button onclick="rBrac()" id="rBrac" class="symbool">)</button>
<button onclick="e()" id="e" class="symbool">e</button>
</div>
<div class="symbolsUp">
<button class="hideSymbols" onclick="hideButton()" id="arrow">
<p id="hidebtn">^</p>
</button>
<button onclick="c()" id="clear" class="up">C</button>
<button id="delete" onclick="dlt()" class="up">del</button>
<button onclick="percentage()" id="per" class="up">%</button>
</div>
<div class="numbers">
<button id="1" onclick="one()">1</button>
<button id="2" onclick="two()">2</button>
<button id="3" onclick="three()">3</button>
<button id="4" onclick="four()">4</button>
<button id="5" onclick="five()">5</button>
<button id="6" onclick="six()">6</button>
<button id="7" onclick="seven()">7</button>
<button id="8" onclick="eight()">8</button>
<button id="9" onclick="nine()">9</button>
<button id="pi" onclick="pi()" class="symbool">π</button>
<button id="0" onclick="zero()">0</button>
<button id="dot" onclick="dot()" class="symbool">.</button>
</div>
<div class="symbolsDown">
<button id="divide" onclick="divide()" class="symbool">/</button>
<button id="multiply" onclick="multiply()" class="symbool">x</button>
<button id="subtract" onclick="sub()" class="symbool">-</button>
<button id="add" onclick="add()" class="symbool">+</button>
<button id="equal" onclick="equal()" class="symbool">=</button>
</div>
</div>
</div>
</div>
<footer>
Copyright © www.pacehut.com All Rights Reserved
</footer>
<script src="calc.js"></script>
</body>
</html>