-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (38 loc) · 1.71 KB
/
index.html
File metadata and controls
43 lines (38 loc) · 1.71 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calculator</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300" rel="stylesheet">
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div id="calculator">
<div id="screen">
<div id="currentChain"></div>
<div id="currentResult"></div>
</div>
<div id="keyboard">
<div class="num-pad">
<button class="number">7</button><button class="number">8</button><button class="number">9</button>
<button class="number">4</button><button class="number">5</button><button class="number">6</button>
<button class="number">1</button><button class="number">2</button><button class="number">3</button>
<button class="decimal">.</button><button class="number">0</button><button class="equal">=</button>
</div>
<div class="operator-pad">
<button class="clearAll">AC</button>
<button class="correctEntry">CE</button>
<button class="operator">÷</button>
<button class="operator">×</button>
<button class="operator">-</button>
<button class="operator">+</button>
</div>
</div>
</div>
<footer>made by <a href="https://zelite.github.io">Zelite</a></footer>
<script src="https://code.jquery.com/jquery-3.1.0.slim.min.js" integrity="sha256-cRpWjoSOw5KcyIOaZNo4i6fZ9tKPhYYb6i5T9RSVJG8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.4.1/math.min.js"></script>
<script src="js/calculator.js"></script>
</body>
</html>