-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
38 lines (37 loc) · 1.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Calculatur - HTML + JS + Java!</title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="css/calculator.css">
<div id="calculator">
<!-- Screen and clear key -->
<div class="top">
<button id="clear" class="clear">C</button>
<div id="screen" class="screen"></div>
</div>
<div class="keys">
<!-- operators and other keys -->
<button id="seven">7</button>
<button id="eight">8</button>
<button id="nine">9</button>
<button id="add" class="operator">+</button>
<button id="four">4</button>
<button id="five">5</button>
<button id="six">6</button>
<button id="sub" class="operator">-</button>
<button id="one">1</button>
<button id="two">2</button>
<button id="three">3</button>
<button id="div" class="operator">÷</button>
<button id="zero">0</button>
<button id="comma">,</button>
<button id="result" class="eval">=</button>
<button id="mul" class="operator">x</button>
</div>
</div>
</body>
<script src="index.js"></script>
</html>