-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (54 loc) · 2.08 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>Calci</title>
<!-- Css -->
<link rel="stylesheet" href="style.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
</head>
<body>
<h1>Calculator</h1>
<div id="body">
<div class="display">
<div>
<p id="input"></p>
</div>
<div>
<p id="output"></p>
</div>
</div>
<div>
<button class="buttons" id="clear">C</button>
<button class="buttons" id="backspace"><i class="fas fa-backspace"></i></button>
<button class="buttons operator" id="/">÷</button>
<button class="buttons operator" id="*">×</button>
<br>
<button class="buttons" id="number">7</button>
<button class="buttons" id="number">8</button>
<button class="buttons" id="number">9</button>
<button class="buttons operator" id="-">-</button>
<br>
<button class="buttons" id="number">4</button>
<button class="buttons" id="number">5</button>
<button class="buttons" id="number">6</button>
<button class="buttons operator" id="+">+</button>
<br>
<button class="buttons" id="number">1</button>
<button class="buttons" id="number">2</button>
<button class="buttons" id="number">3</button>
<button class="buttons" id="number">.</button>
<br>
<button class="buttons last" id="number">0</button>
<button class="buttons last" id="evaluate">=</button>
</div>
</div>
<footer>
Made By ☣ Sammy
</footer>
<script src="calculate.js"></script>
</body>
</html>