-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (48 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
<script defer src="./scripts.js"></script>
<!-- INTER FONT-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter">
</head>
<body>
<div id="calculator">
<div class="display">
<div class="operation"></div>
<div class="result"></div>
</div>
<div class="buttons">
<div class="left container">
<div class="btn operator clear">C</div>
<div class="btn operator parenthese">(</div>
<div class="btn operator parenthese">)</div>
<div class="btn num 7">7</div>
<div class="btn num 8">8</div>
<div class="btn num 9">9</div>
<div class="btn num 4">4</div>
<div class="btn num 5">5</div>
<div class="btn num 6">6</div>
<div class="btn num 1">1</div>
<div class="btn num 2">2</div>
<div class="btn num 3">3</div>
<div class="btn github">
<a href="https://github.com/porobertdev/calculator" target="_blank">
<img src="./img/github-mark.svg">
</a>
</div>
<div class="btn num 0">0</div>
<div class="btn num dot">.</div>
</div>
<div class="right container">
<div class="btn operator divide">÷</div>
<div class="btn operator multiply">x</div>
<div class="btn operator substract">-</div>
<div class="btn operator add">+</div>
<div class="btn operator equal">=</div>
</div>
</div>
</body>
</html>