-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (39 loc) · 1.76 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>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Calculator</title>
<link href="https://fonts.googleapis.com/css?family=Quicksand:700|VT323" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="calculator">
<h1>Electronic Calculator</h1>
<input type="text" placeholder="0" disabled="disabled">
<div id=buttons>
<button id="ac">AC</button>
<button id="ce">CE</button>
<button id="divide" class="operator">÷</button>
<button id="multiply" class="operator">×</button>
<button id="seven" class="number">7</button>
<button id="eight" class="number">8</button>
<button id="nine" class="number">9</button>
<button id="subtract" class="operator">-</button>
<button id="four" class="number">4</button>
<button id="five" class="number">5</button>
<button id="six" class="number">6</button>
<button id="add" class="operator">+</button>
<button id="one" class="number">1</button>
<button id="two" class="number">2</button>
<button id="three" class="number">3</button>
<button id="equals" class="operator">=</button>
<button id="zero" class="number">0</button>
<button id="dot">.</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>