-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Calculator</title>
<link rel="stylesheet" href="./style.css" type="text/css">
<script src="./main.js" async></script>
</head>
<body>
<header>
<h1>Calculator. A mere calculator.</h1>
</header>
<main>
<!--Calculation Field-->
<div id="calc-field"></div>
<!--Integer Buttons-->
<button class="integer" id="one">1</button>
<button class="integer" id="two">2</button>
<button class="integer" id="three">3</button>
<button class="integer" id="four">4</button>
<button class="integer" id="five">5</button>
<button class="integer" id="six">6</button>
<button class="integer" id="seven">7</button>
<button class="integer" id="eight">8</button>
<button class="integer" id="nine">9</button>
<button class="integer" id="zero">0</button>
<!--Operator Buttons-->
<button class="operator" id="addition">+</button>
<button class="operator" id="subtraction">−</button>
<button class="operator" id="multiplication">×</button>
<button class="operator" id="division">÷</button>
<!--Other Buttons-->
<button class="other" id="dot">,</button>
<button class="other" id="delete">C</button>
<button class="other" id="equals">=</button>
</main>
<footer>
<p>Created by ThatKit © 2021</p>
</footer>
</body>
</html>