-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (22 loc) · 865 Bytes
/
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
<html>
<head>
<title>Temp.convert</title>
<link rel="stylesheet" href="cont.css">
<script src="script.js"></script>
</head>
<body>
<section class="main">
<div class="container">
<h1>Convert Temperature</h1>
<form action="convert">
<input id="celsius" placeholder="celsius" type="text" ><br><br>
<input id="fahrenheit" placeholder="fahrenheit" type="text">
</form>
<div class="button">
<button onclick="convertToFahrenheit();" >convert to fahrenheit</button>
<button value="click" onclick=" convertToCelsius();" >Convert to celsius </button>
</div>
</div>
</section>
</body>
</html>