-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (49 loc) · 2.24 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Conversor de Temperatura</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div class="container">
<div class="box-container">
<form action="">
<div class="tmp_calculator_inputs">
<h1 class="title">Conversor de temperatura</h1>
<fieldset class="calculator_value">
<legend>Graus</legend>
<input type="number" id="input_value" name="value" />
<select name="input" id="input">
<option value="celsius">Celsius(°C)</option>
<option value="fahrenheit">Fahrenheit(°F)</option>
<option value="kelvin">Kelvin(°K)</option>
</select>
</fieldset>
<div class="calculator_input">
<fieldset class="calculator_value">
<legend>Converter Para</legend>
<select name="output" id="output">
<option value="celsius">Celsius(°C)</option>
<option value="fahrenheit">Fahrenheit(°F)</option>
<option value="kelvin">Kelvin(°K)</option>
</select>
</fieldset>
</div>
<div class="btn">
<button type="button" id="convert" onclick="convertTemperature()">
Converter
</button>
<button type="button" id="clean" onclick="reset ()">Limpar</button>
</div>
</div>
</form>
</div>
<div class="result-area">
<h1 id="result"></h1>
</div>
</div>
<script src="index.js"></script>
</body>
</html>