-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (42 loc) · 1.53 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
<!DOCTYPE HTML>
<html>
<head>
<title>Calculator</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="main.js"></script>
</head>
<body>
<div class="display">
<span id="globalExpression"></span>
<br>
<span id="localExpression">0</span>
</div>
<div class="buttonsPanel">
<span class="button" id="CE">CE</span>
<span class="button" id="C">C</span>
<span class="button" id="bcksp">«</span>
<span class="button" id="division">÷</span>
<span class="button" id="percent">%</span>
<span class="buttonNum" id="num7">7</span>
<span class="buttonNum" id="num8">8</span>
<span class="buttonNum" id="num9">9</span>
<span class="button" id="multiplication">×</span>
<span class="button" id="sqrt">√x</span>
<span class="buttonNum" id="num4">4</span>
<span class="buttonNum" id="num5">5</span>
<span class="buttonNum" id="num6">6</span>
<span class="button" id="subtraction">-</span>
<span class="button" id="sqr">x²</span>
<span class="buttonNum" id="num1">1</span>
<span class="buttonNum" id="num2">2</span>
<span class="buttonNum" id="num3">3</span>
<span class="button" id="addition">+</span>
<span class="button" id="fraction">¹/<sub>x</sub></span>
<span class="button" id="sign">±</span>
<span class="buttonNum" id="num0">0</span>
<span class="button" id="dot">.</span>
<span class="bigWidthButton" id="equally">=</span>
</div>
</body>
</html>