-
Notifications
You must be signed in to change notification settings - Fork 0
/
temperature.html
61 lines (57 loc) · 2.15 KB
/
temperature.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
<!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 rel="stylesheet" href="./css/style.css">
<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=Poppins:ital,wght@0,200;0,300;0,400;1,300;1,400&family=Roboto:wght@100;300;400;500;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/d53ca26b74.js" crossorigin="anonymous"></script>
<title>Conversor - Temperatura</title>
</head>
<body>
<nav>
<a href="index.html">
<img src="image/gato-preto.png" class="logo"> </nav>
</a>
</nav>
<img src="image/cat-winter.png" alt="Gato e moedas" width="100%">
<div class="container-2">
<h2>
Conversor de Temperatura
</h2>
<div>
<form >
<label for="value-box">Valor : </label>
<input type="text" id="value-box" name="value-box" placeholder="0,0000" class="value-box" step=".01"><br><br>
<div>
<select class="from" id="sel1">
<option value="">Converter de...</option>
<option value=K>Kelvin(K)</option>
<option value=C>Celsius(C)</option>
<option value=F>Fahrenheit(F)</option>
</select>
<i class="fa-solid fa-arrow-right"></i>
<select class="to" id="sel2">
<option value="">Para...</option>
<option value=K>Kelvin(K)</option>
<option value=C>Celsius(C)</option>
<option value=F>Fahrenheit(F)</option>
</select>
</div><br />
<input type="button" class="convert" value="Converter">
</form>
<div id="amount" class="text-center">
<h3>Resultado :
<span class="result"
style="color:#28d305;">
</span>
</h3>
</div>
</div>
</div>
<script src='js/temperature.js'></script>
</body>
</html>