-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (35 loc) · 1.01 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
<!DOCTYPE html>
<html>
<head>
<title>Temperature Converter</title>
<script src="Script.js"></script>
<link rel="stylesheet" href="Style.css">
</head>
<body>
<div id="box">
<p id="header1"><i><strong>TEMPERATURE CONVERTER</strong></i>
<img src="TemparatureIcon.png" alt="Icon" width="80" height="80">
</p>
<center>
<label for="celsius"><strong>Celsius:</strong>
</label>
<br>
<input type="text" id="celsius" placeholder="Enter temperature in Celsius">
<br>
<br>
<label for="fahrenheit"><strong>Fahrenheit:<strong></label>
<br>
<input type="text" id="fahrenheit" placeholder="Enter temperature in Fahrenheit">
<br>
<br>
<label for="kelvin"><strong>Kelvin:<strong></label>
<br>
<input type="text" id="kelvin" placeholder="Enter temperature in Kelvin">
<br>
<br>
<button id="convertbutton" type="submit"onclick="convertTemperature()">Convert</button>
<button id="resetbutton" type="button" onclick="resetTemperature()">Reset</button>
<center>
</div>
</body>
</html>