-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (46 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JS CALCULATOR</title>
<link rel="stylesheet" href="./stylesheet/styles.css">
<script src="./scripts/script.js" defer></script>
<link href="https://fonts.cdnfonts.com/css/ds-digital" rel="stylesheet">
</head>
<body>
<div class="header">
<img id="icon-container" src="./images/calculator-icon.png">
<h1 id="header-text">JS CALCULATOR</h1>
<ul>
<li><a href="https://github.com/VitorB2002/calculator/blob/main/README.md">ABOUT</a></li>
<li><a href="https://github.com/VitorB2002/calculator/blob/main/README.md">SOURCES</a></li>
</ul>
</div>
<div id="display"></div>
<div id="calculator-container">
<div id="numbers-container">
<button class="numeric-buttons" id="seven">7</button>
<button class="numeric-buttons" id="eight">8</button>
<button class="numeric-buttons" id="nine">9</button>
<button class="numeric-buttons" id="four">4</button>
<button class="numeric-buttons" id="five">5</button>
<button class="numeric-buttons" id="six">6</button>
<button class="numeric-buttons" id="one">1</button>
<button class="numeric-buttons" id="two">2</button>
<button class="numeric-buttons" id="three">3</button>
<button class="numeric-buttons" id="zero">0</button>
<button class="numeric-buttons" id="clear">CLEAR</button>
<button class="numeric-buttons" id="equals">=</button>
</div>
<div id="operators-container">
<button class="operators-buttons" id="sum">+</button>
<button class="operators-buttons" id="sub">-</button>
<button class="operators-buttons" id="mul">*</button>
<button class="operators-buttons" id="div">/</button>
</div>
</div>
<div class="footer">
<h3 id="footer-text">Web-Page by VitorB2002</h3>
</div>
</body>
</html>