-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkelvin.html
40 lines (39 loc) · 1.54 KB
/
kelvin.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
<!DOCTYPE html>
<html lang="en">
<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>Temperature Converter</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body>
<!-- Header section -->
<header class="text-gray-400 bg-gray-900 body-font">
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
<a class="flex title-font font-medium items-center text-white mb-4 md:mb-0">
<span class="ml-3 text-xl">T C</span>
</a>
<nav class="md:ml-auto flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:text-white">Home</a>
<a class="mr-5 hover:text-white">About</a>
<a class="mr-5 hover:text-white" href="index.html" target="_blank">Celsius To Fahrenheit</a>
<a class="mr-5 hover:text-white" href="kelvin.html" target="_blank">Celsius To Kelvin</a>
</nav>
</div>
</header>
<!-- main section -->
<div class="wrapper">
<div class="container">
<label for="celsius">Celsius</label>
<input type="number" id="celsius" oninput="celTokel()">
</div>
<div class="container">
<label for="kelvin">Kelvin</label>
<input type="number" id="kelvin" oninput="kelTocel()">
</div>
</div>
<script src="kelvin.js"></script>
</body>
</html>