-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (52 loc) · 2.31 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="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://temperature-converter-ng.vercel.app/" />
<meta property="og:title" content="Temp Converter - Convert Temperatures - Unit Conversion Tool" />
<meta property="og:description"
content="Easily convert temperatures between Celsius, Fahrenheit, and Kelvin units with Temp Converter. A helpful tool for accurate temperature conversions." />
<meta property="twitter:url" content="https://temperature-converter-ng.vercel.app/" />
<meta property="twitter:title" content="Temp Converter - Convert Temperatures - Unit Conversion Tool" />
<meta property="twitter:description"
content="Easily convert temperatures between Celsius, Fahrenheit, and Kelvin units with Temp Converter. A helpful tool for accurate temperature conversions." />
<meta name="description"
content="Easily convert temperatures between Celsius, Fahrenheit, and Kelvin units with Temp Converter. A helpful tool for accurate temperature conversions." />
<title>Temp Converter - Convert Temperatures - Unit Conversion Tool</title>
<link rel="stylesheet" href="assets/style.css" />
</head>
<body>
<div class="container">
<h1>Temperature Converter</h1>
<form id="temCalc" onsubmit="calculateTemp(); return false">
<div class="form-group">
<label for="temp">Enter Temperature</label>
<input type="number" name="temp" id="temp" class="form-control" />
</div>
<div class="form-group">
<label for="temp_diff">Select Unit</label>
<select name="temp_diff" id="temp_diff" class="form-control">
<option value="cel">Celsius</option>
<option value="fah">Fahrenheit</option>
</select>
</div>
<div class="form-group">
<input
type="submit"
name="temp"
value="Convert"
class="btn btn-primary"
/>
</div>
<div class="result-group">
<span>
<p id="resultContainer"></p>
</span>
</div>
</form>
</div>
<script src="assets/script.js"></script>
</body>
</html>