-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.28 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
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container">
<h3>Electronic calculator</h3>
<div id="screen">
<output id="entry">0</output>
<output id="history">0</output>
</div>
<div id="buttons">
<button value="AC">AC</button>
<button value="CE">CE</button>
<button class="oper" value="/">:</button>
<button class="oper" value="*">x</button> <br>
<button class="num" value="7">7</button>
<button class="num" value="8">8</button>
<button class="num" value="9">9</button>
<button class="oper" value="-">-</button> <br>
<button class="num" value="4">4</button>
<button class="num" value="5">5</button>
<button class="num" value="6">6</button>
<button class="oper" value="+">+</button>
<button class="num" value="1">1</button>
<button class="num" value="2">2</button>
<button class="num" value="3">3</button>
<button class="num" value="0">0</button>
<button class="num" value=".">.</button>
<button id="equa" value="=">=</button> <br>
</div>
</div>
<footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</footer>
</body>
</html>