forked from Return-Ready-PT-Mon-Wed/Temp-Converter-Lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTSconvertor.HTML
More file actions
34 lines (26 loc) · 887 Bytes
/
TSconvertor.HTML
File metadata and controls
34 lines (26 loc) · 887 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Temp converter</title>
<link rel="stylesheet" href="TSconverter.css">
</head>
<body>
<div class="container">
<h1 class="tmp">Temperature Scale Converter</h1>
<div class="align">
<label id="labelValue">Value</label>
</div>
<div class="fhr">
<label>Fahrenheit</label>
<input id="userInput" type="number" onchange="temperatureConverter(this.value)">
<button id="btn">Calculate</button>
</div>
<br><br>
<label class="align"><strong>Celsius</strong></label><br>
<label id="outputCelsius" class="align"></label>
</div>
<script src="TSconvertor.js"></script>
</body>
</html>