-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (57 loc) · 2.32 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="Samuel Smoot, Evan Hill, Jackson Cummins, Jason Pratt">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>The Delusional Calculator</title>
<link rel="stylesheet" href="style.css">
<script src="js/calculations.js"></script>
<script src="js/frontend.js"></script>
</head>
<body>
<h6>Utah Instruments</h6>
<h2>Delusionary Math Calculator</h2>
<h1 id ="display"><br></h1>
<table>
<tr>
<td><button onclick="appendToDisplay('7')">7</button></td>
<td><button onclick="appendToDisplay('8')">8</button></td>
<td><button onclick="appendToDisplay('9')">9</button></td>
<td><button onclick="appendToDisplay('-')">-</button></td>
</tr>
<tr>
<td><button onclick="appendToDisplay('4')">4</button></td>
<td><button onclick="appendToDisplay('5')">5</button></td>
<td><button onclick="appendToDisplay('6')">6</button></td>
<td><button onclick="appendToDisplay('+')">+</button></td>
</tr>
<tr>
<td><button onclick="appendToDisplay('1')">1</button></td>
<td><button onclick="appendToDisplay('2')">x</button></td>
<td><button onclick="appendToDisplay('3')">3</button></td>
<td><button onclick="appendToDisplay('*')">*</button></td>
</tr>
<tr>
<td><button onclick="clearDisplay()">C</button></td>
<td><button onclick="appendToDisplay('0')">0</button></td>
<td><button onclick="calculate()">=</button></td>
<td><button onclick="appendToDisplay('/')">/</button></td>
</tr>
</table>
<form>
<input type="checkbox" id="advanced" name="advanced" value="advanced">
<label for="advanced">Advanced Controls</label>
</form>
<h6>Credit:</h6>
<h6>Thinking outside the fence</h6>
<h6>Evan Hill</h6>
<h6>Samuel Smoot: <a href="https://quasarorb.github.io/SamsSite">SamsSite</a></h6>
<h6>Jackson Cummins</h6>
<h6>Jason Pratt</h6>
<h5>Clear:<kbd>Ctrl+C</kbd></h5>
</body>
</html>