forked from J404Simpson/calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (84 loc) · 3.29 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<!-- Page Encoding -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script>
// Define Page Properties
var page = {
title: "Calculator", // page title
description: "A simple calculator.", // page meta description
path: "../" // set path to how to find root directory
};
</script>
<!-- Include Common Head Features -->
<script type="text/JavaScript" src="../includes/commonHead.js"></script>
<!-- Calculator Includes -->
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet">
<link rel="stylesheet" href="calculator.css">
<script src="bignumber.min.js"></script>
<script src="calculator.js"></script>
</head>
<body>
<!-- Masthead -->
<header id="top">
<a href="/">
<img id="masthead" src="../images/PilcrowMicroFull.png" alt="PilcrowMicro">
</a>
</header>
<!-- Navigation -->
<script type="text/JavaScript" src="../includes/nav.js"></script>
<div class="container pt-5 pb-5">
<div id="calculator">
<div id="branding">
<img src="https://anthony-kyle.github.io/images/PilcrowMicroLogo.png">
<p>PilcrowMicro</p>
</div><!-- #branding -->
<div id="screen">
<div id="numbers">0</div>
<div id="plus" class="operand">+</div>
<div id="minus" class="operand">−</div>
<div id="multiply" class="operand">×</div>
<div id="divide" class="operand">÷</div>
<div id="percent" class="operand">%</div>
</div><!-- #screen -->
<div class="calc-row">
<button id="ac" class="key clear">AC</button>
<button id="ce" class="key clear">CE</button>
<button id="%" class="key">%</button>
<button id="/" class="key">÷</button>
</div><!-- .calc-row -->
<div class="calc-row">
<button id="7" class="key">7</button>
<button id="8" class="key">8</button>
<button id="9" class="key">9</button>
<button id="*" class="key">×</button>
</div><!-- .calc-row -->
<div class="calc-row">
<button id="4" class="key">4</button>
<button id="5" class="key">5</button>
<button id="6" class="key">6</button>
<button id="-" class="key">−</button>
</div><!-- .calc-row -->
<div class="calc-row">
<button id="1" class="key">1</button>
<button id="2" class="key">2</button>
<button id="3" class="key">3</button>
<button id="+" class="key tall">+</button>
</div><!-- .calc-row -->
<div class="calc-row">
<button id="0" class="key">0</button>
<button id="." class="key">.</button>
<button id="Enter" class="key">=</button>
</div><!-- .calc-row -->
</div><!-- #calculator -->
</div><!-- #container -->
<!-- Include Footer -->
<script type="text/JavaScript" src="../includes/footer.js"></script>
</body>
</html>