-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (49 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculadora</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="icon" href="./calculate.png">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap" rel="stylesheet">
</head>
<body>
<main>
<section class="calculator">
<input type="text" class="calculator__operation" readonly>
<input type="text" placeholder="0" class="calculator__result" readonly>
<div class="calculator__lines">
<div class="calculator__line">
<button class="calculator__button numbers" value="1">1</button>
<button class="calculator__button numbers" value="2">2</button>
<button class="calculator__button numbers" value="3">3</button>
<button class="calculator__button operators" value="+">+</button>
</div>
<div class="calculator__line">
<button class="calculator__button numbers" value="4">4</button>
<button class="calculator__button numbers" value="5">5</button>
<button class="calculator__button numbers" value="6">6</button>
<button class="calculator__button operators" value="-">-</button>
</div>
<div class="calculator__line">
<button class="calculator__button numbers" value="7">7</button>
<button class="calculator__button numbers" value="8">8</button>
<button class="calculator__button numbers" value="9">9</button>
<button class="calculator__button operators" value="x">x</button>
</div>
<div class="calculator__line">
<button class="calculator__button clear">C</button>
<button class="calculator__button numbers" value="0">0</button>
<button class="calculator__button equal">=</button>
<button class="calculator__button operators" value="÷">÷</button>
</div>
</div>
</section>
</main>
</body>
<script src="js/app.js"></script>
</html>