-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcalculadoraRegraTres.html
170 lines (162 loc) · 9.97 KB
/
calculadoraRegraTres.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/styleCalculadoraRegraTres.css">
<title>Calculadora Regra de 3</title>
</head>
<body>
<header>
<!-- NAVBAR - INICIO -->
<nav class="navbar bg-body-tertiary fixed-top border ">
<div class="container-fluid">
<img src="./images/logo/GoodPayBanner.png" alt="Logo Banner" id="logo-header">
<a class="navbar-brand" href="#">Escolha o melhor!</a>
<!-- OFFCANVAS - INICIO -->
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas"
data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<img src="./images/logo/GoodPay.png" alt="Logo">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">Menu</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<form class="d-flex mt-3" role="search">
<input class="form-control me-2" type="search" placeholder="Digite o que você procura..."
aria-label="Search">
<button class="btn btn-outline-success" type="submit">Buscar</button>
</form>
<!-- ACCORDION - INICIO -->
<div class="accordion accordion-flush mt-4" id="accordionFlushExample">
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingOne">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#flush-collapseOne" aria-expanded="false"
aria-controls="flush-collapseOne">
Login GoodPay
</button>
</h2>
<div id="flush-collapseOne" class="accordion-collapse collapse"
aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample">
<div class="accordion-body">
<!-- FORM LOGIN - INICIO -->
<form>
<div class="input-group input-group-lg mb-3">
<span class="input-group-text"
id="inputGroup-sizing-default">Email</span>
<input id="email" type="text" required class="form-control"
aria-label="Sizing example input"
aria-describedby="inputGroup-sizing-default" />
</div>
<div class="input-group input-group-lg mb-3">
<span class="input-group-text"
id="inputGroup-sizing-default">Senha</span>
<input id="senha" type="password" required class="form-control"
aria-label="Sizing example input"
aria-describedby="inputGroup-sizing-default" />
</div>
<div class="d-grid gap-2">
<button id="btn-entrar" type="button" class="btn btn-outline-success">
Entrar
</button>
<button class="btn btn-outline-dark" type="button">
Cadastrar
</button>
</div>
</form>
<!-- FORM LOGIN - FIM-->
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#flush-collapseTwo" aria-expanded="false"
aria-controls="flush-collapseTwo">
Ajuda
</button>
</h2>
<div id="flush-collapseTwo" class="accordion-collapse collapse"
aria-labelledby="flush-headingTwo" data-bs-parent="#accordionFlushExample">
<div class="accordion-body">
Ajuda (Conteudo)
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#flush-collapseThree" aria-expanded="false"
aria-controls="flush-collapseThree">
SoulCode Academy
</button>
</h2>
<div id="flush-collapseThree" class="accordion-collapse collapse"
aria-labelledby="flush-headingThree" data-bs-parent="#accordionFlushExample">
<div class="accordion-body">
<a href="https://soulcode.com" target="_blank"
class="btn btn-primary position-relative">
SoulCode Academy
<!-- BADGE - INICIO -->
<span
class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
Novo
<span class="visually-hidden">unread messages</span>
</span>
<!-- BADGE - FIM -->
</a>
</div>
</div>
</div>
</div>
<!-- ACCORDION - FIM -->
</div>
</div>
<!-- OFFCANVAS - FIM -->
</div>
</nav>
<!-- NAVBAR - FIM -->
</header>
<main class="container mb-5">
<form>
<h3 class="mb-5 titulo">Calculadora Regra de 3.</h3>
<div class="formMain d-flex justify-content-center flex-wrap ">
<div class="mb-3 formLabel mx-3">
<label for="campoValorA" class="form-label ">Valor A:</label>
<input type="number" class="form-control campoLabel" id="campoValorA" required>
</div>
<div class="mb-3 formLabel mx-3">
<label for="campoValorB" class="form-label">Valor B:</label>
<input type="number" class="form-control campoLabel" id="campoValorB" required>
</div>
<div class="mb-3 formLabel mx-3">
<label for="campoValorC" class="form-label">Valor C:</label>
<input type="number" class="form-control campoLabel" id="campoValorC" required>
</div>
<div class="mb-3 formLabel mx-3">
<label for="campoResultado" class="form-label">Corresponde a:</label>
<input type="number" class="form-control campoLabel" id="campoResultado"
disabled>
</div>
</div>
</form>
<div class="btn-form d-flex justify-content-end flex-wrap ">
<button class="btn btnForm mt-3" id="botaoCalculo">Calcular</button>
<button class="btn btnForm mt-3" id="botaoLimpar">Limpar</button>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
<script src="./scripts/calculadoraRegraTres.js"></script>
</body>
</html>