-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (71 loc) · 2.78 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
79
80
81
82
83
84
<!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">
<link rel="stylesheet" href="index.css">
<title>Calculator</title>
<script src="https://unpkg.com/[email protected]/lib/browser/math.js"></script>
<script src="https://cdn.plot.ly/plotly-1.35.2.min.js"></script>
</head>
<body>
<div id="container">
<div id="result-container">
<div id="operation">
<p id="tocalculate"></p>
</div>
<div id="result">
<p id="result_show"></p>
</div>
</div>
<div id="divider"></div>
<div id="all-buttons">
<div id="first-line">
<button value="AC">AC</button>
<button value="MS">MS</button>
<button value="MC">MC</button>
<button value="<"><</button>
<button id="fx">f(x)</button>
<button value="%">%</button>
<button value="sqrt(">√</button>
<button value="log(">Log()</button>
<button value="tan(">Tan</button>
<button value="cos(">Cos</button>
<button value="sin(">Sin</button>
</div>
<div id="second-container">
<div id="left-content">
<button name="number" value="7">7</button>
<button name="number" value="8">8</button>
<button value="9">9</button>
<button value="4">4</button>
<button value="5">5</button>
<button value="6">6</button>
<button value="1">1</button>
<button value="2">2</button>
<button value="3">3</button>
<button value=".">.</button>
<button value="0">0</button>
<button value="3.141592653589793">π</button>
</div>
<div id="right-content">
<button value="x">X</button>
<button value="/">÷</button>
<button value="-">-</button>
<button value="+">+</button>
<button value="(">(</button>
<button value=")">)</button>
<button id="equal" name="equal" >=</button>
</div>
</div>
</div>
</div>
<div id="memory">
</div>
<div id="plot">
</div>
<script src="index.js"></script>
<script src="mychart.js"></script>
</body>
</html>