-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (37 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="calc">
<p id="display"></p>
<div id="inputButtons">
<button class="btn" value="1">1</button>
<button class="btn" value="2">2</button>
<button class="btn" value="3">3</button>
<button class="btn" value="4">4</button>
<button class="btn" value="5">5</button>
<button class="btn" value="6">6</button>
<button class="btn" value="7">7</button>
<button class="btn" value="8">8</button>
<button class="btn" value="9">9</button>
<button class="btn-o" value="+" id="sum">+</button>
<button class="btn-o" value="-" id="sub">-</button>
<button class="btn-o" value="*" id="mult">X</button>
<button class="btn-o" value="/" id="div">/</button>
<button class="btn-r" id="clear">C</button>
<button class="btn-r" id="equal">=</button>
</div>
</div>
<div id="para">
<p>This may seem like a simple calculator, but is the result of 3 months of hard work.</p>
<p>I'm extremely proud to be able to complete this project with my own logic and assumptions, without following any tutorial.</p>
<p>Most of all I'm thankfull for <a target="_blank" href="https://www.theodinproject.com/home">TheOdinProct</a> for the incredible work the've done.</p>
</div>
<script src="script.js"></script>
</body>
</html>