-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
59 lines (59 loc) · 1.72 KB
/
calculator.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css?family=Coda|Codystar|Jacques+Francois+Shadow|Unica+One&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="calculator.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script defer src="calculator.js"></script>
<title>Calculator</title>
</head>
<body>
<main id="app">
<h1>
Calculator
</h1>
<div class="calculator">
<section class="display">
<div class="held-label">Running Total</div>
<div class="held-value"></div>
<div class="next-operation"></div>
<div class="next-value"></div>
</section>
<section class="controls">
<section class="memory">
<button class="clear-all">CLEAR</button>
<button class="clear-entry">CLEAR ENTRY</button>
</section>
<section class="operations">
<button class="add">+</button class="">
<button class="subtract">−</button>
<button class="multiply">×</button>
<button class="divide">/</button>
<button class="equals">=</button>
</section>
<section class="digits">
<button>7</button>
<button>8</button>
<button>9</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button class="decimal">.</button>
<button class="zero">0</button>
</section>
</section>
</div>
<a href="index.html" target="_self">
<button class='backButton'>Go Back</button>
</a>
</main>
</body>
</html>