-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (36 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="./CSS/style.css" />
</head>
<body>
<h1>Calculator</h1>
<div id="calculator-container">
<div id="display">0</div>
<div id="button-container">
<button id="backspace" value="Backspace">‹</button>
<button id="clear" value="Delete">C</button>
<button id="sign" value="sign">+/-</button>
<button class="operators" id="divide" value="/">/</button>
<button class="numbers" value="7"><kbd>7</kbd></button>
<button class="numbers" value="8"><kbd>8</kbd></button>
<button class="numbers" value="9">9</button>
<button class="operators" id="multiply" value="*">x</button>
<button class="numbers" value="4">4</button>
<button class="numbers" value="5">5</button>
<button class="numbers" value="6">6</button>
<button class="operators" id="subtract" value="-">-</button>
<button class="numbers" value="1">1</button>
<button class="numbers" value="2">2</button>
<button class="numbers" value="3">3</button>
<button class="operators" id="add" value="+">+</button>
<button class="numbers" id="zero" value="0">0</button>
<button class="numbers" value=".">.</button>
<button class="operators" id="equals" value="Enter">=</button>
</div>
</div>
<script type="application/javascript" src="script.js"></script>
</body>
</html>