-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.51 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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<!-- <link rel="stylesheet" href="style.css"> -->
<link rel="stylesheet" href="index.css">
</head>
<body>
<div id="main-container">
<div>
<h1 id="heading">CALCULATOR</h1>
</div>
<div id="display">
<p id="main-display"></p>
<p id="sub-display"></p>
</div>
<div id="function-div">
<div id="ac" class="button">AC</div>
<div id="pluse_minus" class="button">+/-</div>
<div id="percentage" class="button">%</div>
<div class="button operation">/</div>
<div class="button no">7</div>
<div class="button no">8</div>
<div class="button no">9</div>
<div class="button operation">*</div>
<div class="button no">4</div>
<div class="button no">5</div>
<div class="button no">6</div>
<div class="button operation">-</div>
<div class="button no">1</div>
<div class="button no">2</div>
<div class="button no">3</div>
<div class="button operation">+</div>
<div class="button no">0</div>
<div class="button no">.</div>
<div id="equal" class="button">=</div>
</div>
</div>
<script src="index.js"></script>
<!-- <script src="cal.js"></script> -->
</body>
</html>