-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
86 lines (82 loc) · 2.59 KB
/
calculator.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" />
<title>Calculator</title>
</head>
<body>
<section class="center-div">
<header>
<div class="header-left">
<p>Calculator</p>
</div>
<div class="header-right">
<p>-</p>
<p>z</p>
<p id="close-div">x</p>
</div>
</header>
<div class="screen p-0-10">
<div class="calc-mode p-13-0">
<img src="menu.png" alt="" />
<h3>Standard</h3>
</div>
<div class="show-value">
<p></p>
</div>
<div class="display-side">
<input type="text" id="content-display" placeholder="0" />
</div>
<div class="calc-memory">
<p class="unactive-memory">MC</p>
<p class="unactive-memory">MR</p>
<p>M+</p>
<p>M-</p>
<p>MS</p>
<p class="unactive-memory">M></p>
</div>
</div>
<div class="buttons">
<div class="btn">
<p id="mod">%</p>
<p>CE</p>
<p id="clear">C</p>
<p id="delete">x</p>
</div>
<div class="btn">
<p>1/x</p>
<p id="square">x<sup>2</sup></p>
<p><sup>2</sup>√x</p>
<p class="sign" id="div">÷</p>
</div>
<div class="btn">
<p class="num" id="7">7</p>
<p class="num" id="8">8</p>
<p class="num" id="9">9</p>
<p class="sign" id="mul">x</p>
</div>
<div class="btn">
<p class="num" id="4">4</p>
<p class="num" id="5">5</p>
<p class="num" id="6">6</p>
<p class="sign" id="minus">-</p>
</div>
<div class="btn">
<p class="num" id="1">1</p>
<p class="num" id="2">2</p>
<p class="num" id="3">3</p>
<p class="sign" id="plus">+</p>
</div>
<div class="btn">
<p><sup>+</sup>/-</p>
<p class="num" id="0">0</p>
<p id="point">.</p>
<p class="sign" id="equal">=</p>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>