-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (47 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Odin Calculator</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
<body>
<div id="calculator">
<div id="screen">0</div>
<div id="logo">Str-ulator 1000</div>
<div id="controls">
<div class="button-row">
<button id="C" class="clear">C</button>
<button id="CE" class="clear">CE</button>
<button id="sqrt" class="unaryOperators">√</button>
<button id="div" class="binaryOperators">/</button>
</div>
<div class="button-row">
<button id="7" class="numbers">7</button>
<button id="8" class="numbers">8</button>
<button id="9" class="numbers">9</button>
<button id="mul" class="binaryOperators">*</button>
</div>
<div class="button-row">
<button id="4" class="numbers">4</button>
<button id="5" class="numbers">5</button>
<button id="6" class="numbers">6</button>
<button id="sub" class="binaryOperators">-</button>
</div>
<div class="button-row">
<button id="1" class="numbers">1</button>
<button id="2" class="numbers">2</button>
<button id="3" class="numbers">3</button>
<button id="add" class="binaryOperators">+</button>
</div>
<div class="button-row">
<button id="sign">+/-</button>
<button id="0" class="numbers">0</button>
<button id="decimal">.</button>
<button id="equals">=</button>
</div>
</div>
</div>
</body>
</html>