-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (38 loc) · 1.46 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Conversor Térmico</title>
</head>
<body>
<div class="body-container">
<div class="cabecalho-text">
<p class="title">Conversor de Temperatura</p>
</div>
<div class="select-temperature">
<select id="temp-pri">
<option value="celsius" selected>Celsius</option>
<option value="fahrenheit">Fahrenheit</option>
<option value="kelvin">Kelvin</option>
</select>
<span class="text-complete">Para</span>
<select id="temp-seg">
<option value="celsius">Celsius</option>
<option value="fahrenheit" selected>Fahrenheit</option>
<option value="kelvin">Kelvin</option>
</select>
</div>
<div class="input-container">
<input type="text" name="input-value" value="0" class="input-value" placeholder="Valor a ser convertido"><br>
<p class="result">0°C é igual a 32.00°F</p>
</div>
<div class="button-container">
<button type="submit" class="btn" onclick="convert()">Converter</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>