-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (69 loc) · 2.74 KB
/
index.html
File metadata and controls
70 lines (69 loc) · 2.74 KB
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
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Odin-Calc</title>
<link rel="stylesheet" href="styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<div class="page-wrapper">
<header class="header">
<h1 class="odin-calc">Odin Calculator</h1>
</header>
<div class="content-wrapper">
<div class="calculator">
<div class="display">
<div class="small-display"></div>
<div class="large-display" id="display">0</div>
</div>
<div class="controls">
<div class="first-row row">
<button class="ac" id="clear">A/C</button>
<button class="backspace" disabled><--</button>
<button class="/ operator" id="divide" value="/">/</button>
</div>
<div class="second-row row">
<button class="7 number" id="seven" value="7">7</button>
<button class="8 number" id="eight" value="8">8</button>
<button class="9 number" id="nine" value="9">9</button>
<button class="x operator" id="multiply" value="*">x</button>
</div>
<div class="third-row row">
<button class="4 number" id="four" value="4">4</button>
<button class="5 number" id="five" value="5">5</button>
<button class="6 number" id="six" value="6">6</button>
<button class="- operator" id="subtract" value="-">-</button>
</div>
<div class="fourth-row row">
<button class="1 number" id="one" value="1">1</button>
<button class="2 number" id="two" value="2">2</button>
<button class="3 number" id="three" value="3">3</button>
<button class="+ operator" id="add" value="+">+</button>
</div>
<div class="fifth-row row">
<button class="decimal" id="decimal">.</button>
<button class="zero number" id="zero" value="0">0</button>
<button class="equals" id="equals" value="=">=</button>
</div>
</div>
</div>
</div>
<footer class="footer">
<p class="copyright-p">
copyright@
<a class="github-link" href="https://github.com/codedstrings"
>codedstrings</a
>
<i class="fa fa-github" style="font-size: 20px"></i>
</p>
</footer>
</div>
<script src="script.js"></script>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
</html>