-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.39 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Calculator</title>
<script src="calculator.js" defer></script>
<link rel="stylesheet" href="stylesheet.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Orbitron">
</head>
<body>
<div class="calculator">
<div class="display" id="textbox"></div>
<button class="btn number" id="1">1</button>
<button class="btn number" id="2">2</button>
<button class="btn number" id="3">3</button>
<button class="btn number" id="4">4</button>
<button class="btn number" id="5">5</button>
<button class="btn number" id="6">6</button>
<button class="btn number" id="7">7</button>
<button class="btn number" id="8">8</button>
<button class="btn number" id="9">9</button>
<button class="btn decimal" id=".">.</button>
<button class="btn number" id="0">0</button>
<button class="btn equals" id="equals">=</button>
<button class="btn operator" id="add">+</button>
<button class="btn operator" id="subtract">-</button>
<button class="btn operator" id="multiply">x</button>
<button class="btn operator" id="divide">÷</button>
<button class="btn back" id="back">←</button>
<button class="btn clear" id="clear">c</button>
</div>
</body>
</html>