-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (75 loc) · 2.88 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
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
<!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">
<title>Conversor de Temperaturas</title>
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<!-- Navbar start! -->
<nav class="navbar bg-dark">
<div class="container-fluid">
<a class="navbar-brand text-light" href="index.html">
<i class="bi bi-calculator me-3"></i>
Conversor de Temperaturas</a>
</div>
</nav>
<main class="d-md-flex mt-5">
<!-- card start -->
<div class="container mb-4 d-flex justify-content-around">
<div class="card" style="width: 40rem;">
<div class="card-body">
<div class="container d-flex flex-row justify-content-evenly">
<!-- Select 1 -->
<div class="text-center">
<p class="card-text mt-4">Converter De:</p>
<select class="form-select mb-3" id="converterDe">
<option value="0"></option>
<option value="1">Celsius</option>
<option value="2">Kelvin</option>
<option value="3">Fahrenheit</option>
</select>
</div>
<!-- Select 2 -->
<div class="text-center">
<p class="card-text mt-4">Converter Para:</p>
<select class="form-select mb-3" id="converterPara">
<option value="0"></option>
<option value="1">Celsius</option>
<option value="2">Kelvin</option>
<option value="3">Fahrenheit</option>
</select>
</div>
</div>
</div>
<!-- Input -->
<div class="d-flex flex-column align-items-center mt-4">
<label>Digite um valor: </label>
<input type="text" class="form-control mb-3 mt-3 w-25" id="input">
</div>
<!-- Button converter -->
<div class="d-flex justify-content-center">
<button class="btn btn-primary" onclick="converteValores1()">Converter</button>
</div>
<!-- Resultado -->
<div class="d-flex flex-column align-items-center mt-4">
<label>Resultado: </label>
<p class="form-control w-auto mb-3 mt-3" id="valorConvertido">
</div>
</div>
</div>
</main>
<!-- footer start -->
<div class="footer">
<p>
2022 © Design By Giselle Barbosa
</p>
</div>
<script src="js/script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
</body>
</html>