-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalc_view.html
More file actions
49 lines (48 loc) · 1.66 KB
/
calc_view.html
File metadata and controls
49 lines (48 loc) · 1.66 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
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans">
<link rel="stylesheet" type="text/css" href="calc_styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!-- // <script type="text/javascript" src='calculator.js'></script> -->
<script type="text/javascript" src='calculator2.js'></script>
<meta name='viewport' content='width=device-width, height=device-height'>
<title>Minimal Calulator</title>
</head>
<body>
<section class='calc-body'>
<div class='display'>
<div class='past'></div>
<div class='equation'></div>
<div class='results'></div>
</div>
<section>
<div class='row'>
<span class='button-cell'>1</span>
<span class='button-cell'>2</span>
<span class='button-cell'>3</span>
<span class='button-cell addition'>+</span>
</div>
<div class='row'>
<span class='button-cell'>4</span>
<span class='button-cell'>5</span>
<span class='button-cell'>6</span>
<span class='button-cell subtract'>-</span>
</div>
<div class='row'>
<span class='button-cell'>7</span>
<span class='button-cell'>8</span>
<span class='button-cell'>9</span>
<span class='button-cell multiply'>*</span>
</div>
<div class='row'>
<span class='clear'>c</span>
<span class='button-cell'>0</span>
<span class='button-cell mod'>%</span>
<span class='button-cell divide'>/</span>
</div>
<div class='row'>
<span class='equals'>=</span>
</div>
</section>
</section>
</body>