This repository was archived by the owner on Jul 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapple-calculator.html
More file actions
78 lines (71 loc) · 2.72 KB
/
apple-calculator.html
File metadata and controls
78 lines (71 loc) · 2.72 KB
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
<html>
<head>
<link href="apple-calculator.css" rel="stylesheet"></link>
<link href="graphcalc.css" rel="stylesheet"></link>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="apple-calculator.js"></script>
<script src="graphcalc.js"></script>
<script src="calculator.js"></script>
<script src="http://web.mit.edu/6.mitx/www/calculator.js"></script>
</head>
<body>
<div id="calculator">
<div class="leftColumnMain">
<div class="row">
<div class="screen">
<textarea spellcheck=false class="expression"></textarea>
</div>
</div>
<div class="row">
<button class="button">sin(</button>
<button class="button">log(</button>
<button class="button">sqrt(</button>
<button class="button">C</button>
</div>
<div class="row">
<button class="button">(</button>
<button class="button">)</button>
<button class="button">÷</button>
<button class="button">×</button>
</div>
<div class="row">
<button class="button">7</button>
<button class="button">8</button>
<button class="button">9</button>
<button class="button">-</button>
</div>
<div class="row">
<button class="button">4</button>
<button class="button">5</button>
<button class="button">6</button>
<button class="button">+</button>
</div>
<div id="bigRow">
<div class="leftColumn">
<div class="row">
<button class="button">1</button>
<button class="button">2</button>
<button class="button">3</button>
</div>
<div class="row">
<button class="button">0</button>
<button class="button period">.</button>
<button class="button">x</button>
</div>
</div>
<div class="rightColumn">
<button class="button tallButton">=</button>
</div>
</div>
</div>
<div class="rightColumnMain">
<canvas width="380" height="380" class="graphCanvas screen"></canvas>
<div class="commandBox">
<label class="minLabel">min: <input type="text" class="min inputBox"></input></label>
<label class="maxLabel">max: <input type="text" class="max inputBox"></input></label><br>
<button class="wideButton button">graph</button>
</div>
</div>
</div>
</body>
</html>