-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·63 lines (52 loc) · 2.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<title>jsCalculator</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class=cardBackground>
<div class=cardContent>
<div id=gap>
<div>
<div id=display class=numberDisplay>0</div>
<div class=inputPad>
<div class=numberRow>
<input type="button" class="inputButton" value="AC" button id="ac">
<input type="button" class="inputButton" value="CE" button id="ce">
<input type="button" class="functionButton" value="%" button id="precent">
<input type="button" class="functionButton" value="/" button id="divide">
</div>
<div class=numberRow>
<input type="button" class="numberButton" value="1" button id="num">
<input type="button" class="numberButton" value="2" button id="num">
<input type="button" class="numberButton" value="3" button id="num">
<input type="button" class="functionButton" value="x" button id="multiply">
</div>
<div class=numberRow>
<input type="button" class="numberButton" value="4" button id="num">
<input type="button" class="numberButton" value="5" button id="num">
<input type="button" class="numberButton" value="6" button id="num">
<input type="button" class="functionButton" value="-" button id="minus">
</div>
<div class=numberRow>
<input type="button" class="numberButton" value="7" button id="num">
<input type="button" class="numberButton" value="8" button id="num">
<input type="button" class="numberButton" value="9" button id="num">
<input type="button" class="functionButton" value="+" button id="plus">
</div>
<div class=numberRow>
<input type="button" class="numberButton" value="." button id="num">
<input type="button" class="numberButton" value="0" button id="num">
<input type="button" class="inputButton" value="<" button id="backSpace">
<input type="button" class="functionReturn" value="=" button id="equal">
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>