-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title js calculator></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<meta name="author" content="Md Farzan">
<link rel="stylesheet" href="css/style.css">
<!--google font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<div id="calculator">
<div id="output-container">
<output id="entry"> </output>
<output id="early-evaluation">0</output>
</div>
<!--output area-->
<div id="btn-area"><span class="ctrl" id="clear">C</span><span class="ctrl" id="clear-entry">CE</span><span class="btn opcode" value="/">/</span><span class="btn opcode" value="*">*</span><span class="btn">9</span><span class="btn">8</span><span class="btn">7</span><span class="btn opcode" value="-">-</span><span class="btn">6</span><span class="btn">5</span><span class="btn">4</span><span class="btn opcode" value="+">+</span><span class="btn">3</span><span class="btn">2</span><span class="btn">1</span><span class="equal-btn" data-value="equal">=</span><span class="btn" data-value="0">0</span><span class="btn" data-value="dot">.</span></div>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>