-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (41 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Calculator | Souvik Dey</title>
<link rel= "stylesheet" href= "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Julius+Sans+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link rel= "stylesheet" href= "styles.css">
</head>
<body>
<div class= "text-center" id= "calculator">
<div id= "name">Electronic Calculator</div>
<div class= "text-center" id= "calcOutput">
<p id= 'output'>0</p>
</div>
<div id= "buttons">
<button class= 'red' id= "deleteAll">AC</button>
<button class= 'red' id= "backOne">CE</button>
<button class= 'black' id= "/">÷</button>
<button class= 'black' id= "*">X</button>
<button class= 'black' id= "7">7</button>
<button class= 'black' id= "8">8</button>
<button class= 'black' id= "9">9</button>
<button class= 'black' id= "-">-</button>
<button class= 'black' id= "4">4</button>
<button class= 'black' id= "5">5</button>
<button class= 'black' id= "6">6</button>
<button class= 'black' id= "+">+</button>
<button class= 'black' id= "1">1</button>
<button class= 'black' id= "2">2</button>
<button class= 'black' id= "3">3</button>
<button class='invisible'>N</button>
<button class= 'black' id= '0' style= "position: relative; bottom: 25px; width: 117px">0</button>
<button class= 'black' id= '.' style= "position: relative; bottom: 25px; right: 2px">.</button>
<button class= 'black' id= '=' style= "position: relative; height: 90px; bottom: 50px">=</button>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src= "main.js"></script>
</body>
</html>