-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (49 loc) · 2.22 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
<!DOCTYPE html>
<html lang="EN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nifty Calculator</title>
<link type="text/css" rel="stylesheet" href="./styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jersey+15&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
</head>
<body>
<div id="header">
<h1>Nifty Calculator</h1>
<h2>A clean, simple calculator</h2>
</div>
<div id="displayCase">
<div id="display">
<p id="digitWindow"></p>
</div>
</div>
<div id="calcBod">
<button class="square" id="clearButton">clear</button>
<button class="square" id="plusminusButton">+ / -</button>
<button class="square" id="divideButton">/</button>
<button class="square" id="multiplyButton">*</button>
<button class="square" id="minusButton">-</button>
<button class="square" id="plusButton">+</button>
<button class="square" id="enter">enter</button>
<div id="digits">
<button class="square" id="seven">7</button>
<button class="square" id="eight">8</button>
<button class="square" id="nine">9</button>
<button class="square" id="four">4</button>
<button class="square" id="five">5</button>
<button class="square" id="six">6</button>
<button class="square" id="one">1</button>
<button class="square" id="two">2</button>
<button class="square" id="three">3</button>
<button class="square" id="backBut">back</button>
<button class="square" id="zero">0</button>
<button class="square" id="decimal">.</button>
</div>
</div>
<div id="footer">
</div>
<script src="./niftyCalc.js"></script>
</body>
</html>