-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (53 loc) · 1.75 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>calc</title>
<link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="col-md-6 col-md-offset-4">
<div id="calc">
<div id="title" class="text-center">
<h5>Electronic Calculator</h5>
</div>
<div id="display" class="text-right">
<div id='disp'>
<p id='answer'>0</p>
</div>
<div id='input'>
<p>0</p>
</div></div>
<div id="buttons">
<button id='ac' class='btn btn-danger' value='ac'>AC
</button>
<button id='ce' class='btn btn-danger' value='ce'>CE
</button>
<button id='divide' value='/'>÷</button>
<button id="multiply" value='*'>X</button>
<button id="seven" value='7'>7</button>
<button id="eight" value='8'>8</button>
<button id="nine" value='9'>9</button>
<button id="sub" value='-'>-</button>
<button id="four" value='4'>4</button>
<button id="five" value='5'>5</button>
<button id="six" value='6'>6</button>
<button id="add" value='+'>+</button>
<button id="one" value='1'>1</button>
<button id="two" value='2'>2</button>
<button id="three" value='3'>3</button>
<button id='zero' value='0'>0</button>
<button id="dot" value='.'>.</button>
<button id="equal" value='='>=</button>
</div>
</div>
</div>
</div>
<script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>