-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (57 loc) · 1.97 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Calculate Away</title>
<link rel='stylesheet' href='./stylesheet.css'>
<script src='script.js' defer></script>
</head>
<body>
<div class='main'>
<div class='headerQuote'>
<h1 class='quote'>
<q>
<em>
From the time I was 7, when I purchased my first calculator, <br>
I was fascinated by the idea of a machine that could compute things.
</em>
</q>
</h1>
<p class='quoter'>
Michael Dell
</p>
</div>
<div class='calculator'>
<div class='display' id='output'></div>
<div class='buttons'>
<button class='btn-ac'>AC</button>
<button class='btn-del'>DEL</button>
<button class='plus-minusBtn'>+/-</sup></button>
<button class='opBtn'>/</button>
<button class='numBtn'>7</button>
<button class='numBtn'>8</button>
<button class='numBtn'>9</button>
<button class='opBtn'>*</button>
<button class='numBtn'>4</button>
<button class='numBtn'>5</button>
<button class='numBtn'>6</button>
<button class='opBtn'>-</button>
<button class='numBtn'>1</button>
<button class='numBtn'>2</button>
<button class='numBtn'>3</button>
<button class='opBtn'>+</button>
<button class='numBtn'>0</button>
<button class='numBtn' id='dot'>.</button>
<button class='btnEqual'>=</button>
</div>
</div>
<footer class='footer'>
Copyright Ⓒ
<script type="text/JavaScript">
document.write(new Date().getFullYear());
</script>
Albin Viktorsson
</footer>
</body>
</html>