-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (36 loc) · 1.52 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minha Calculadora</title>
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="estilo.css">
<!-- pro ícone calculadora -->
<script src="https://kit.fontawesome.com/7d79481767.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap" rel="stylesheet">
</head>
<body>
<script src="index.js"></script>
<main>
<div class="container">
<h1>Minha Calculadora <i class="fa-solid fa-calculator"></i></h1>
<input id="num1" name="num1" type="number">
<input id="num2" name="num2" type="number"><br>
<br>
<div class="input_sinais">
<input id="btnSomar" name="sign-area" type="radio" value="add"><b>+</b>
<input id="btnSubtrair" name="sign-area" type="radio" value="subtract"><b>-</b>
<input id="btnMultiplicar" name="sign-area" type="radio" value="multiply"><b>*</b>
<input id="btnDividir" name="sign-area" type="radio" value="divide"><b>/</b><br>
</div>
<br>
<button class="btnCalcular" onclick="calcular()" type="button">Calcular</button>
<h2 class="Result" id="resultArea"></h2>
</div>
</main>
<footer>Luciene Lima - 2023</footer>
</body>
</html>