-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemperature.html
203 lines (174 loc) · 8.15 KB
/
temperature.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!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">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Convert units - Converters-online.com</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css?version=1" rel="stylesheet">
<script src="js/ie-emulation-modes-warning.js"></script>
<!-- Custom styles for this template -->
<link href="css/stylesheet.css?version=1" rel="stylesheet">
<!-- Google analytics -->
<script src="js/google_analytics.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">converters-online.com</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="purple-background"><a href="length.html">
<span class="glyphicon glyphicon-resize-full" aria-hidden="true"></span> Length</a></li>
<li class="blue-background"><a href="weight.html">
<span class="glyphicon glyphicon-scale" aria-hidden="true"></span> Weight</a></li>
<li class="yellow-background"><a href="cooking.html">
<span class="glyphicon glyphicon-cutlery" aria-hidden="true"></span> Cooking</a></li>
<li class="red-background active"><a href="temperature.html">
<span class="glyphicon glyphicon-cloud" aria-hidden="true"></span> Temperature</a></li>
<li class="lightblue-background"><a href="time.html">
<span class="glyphicon glyphicon-time" aria-hidden="true"></span> Time</a></li>
<li><a href="about.html">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span> About & Privacy</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<ol class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li><a href="converters.html">All converters</a></li>
<li class="active">Temperature converter</li>
</ol><!-- /.breadcrumb -->
<div class="container">
<div class="convert-units-header">
<h1>Temperature converter</h1>
<hr>
</div>
<div class="convert-units">
<table align="center" width="100%">
<tr>
<td>
<div class="convert-units-box">
<div class="convert-units-border">
<select class="form-control" id="convFrom" name="convertFrom" onchange="getFirstUnit();">
<option id="°C">Celsius (°C)</option>
<option id="°F">Fahrenheit (°F)</option>
<option id="°K">Kelvin (°K)</option>
<option id="°R">Rankine (°R)</option>
</select>
<br>
<div class="form-group">
<input class="form-control" type="text" id="convertFirstUnit" placeholder="Enter value" onkeyup="getFirstUnit();" onchange="getFirstUnit();">
</div>
<button type="submit" class="btn btn-default" onclick="resetUnit();">Reset</button>
</div><!-- /.first box -->
</div>
</td>
<td>
<div class="convert-units-equal">
<img src="img/equals.png" height="24" width="24"></img>
</div>
</td><!-- /.equal sign picture -->
<td>
<div class="convert-units-box">
<div class="convert-units-border">
<select class="form-control" id="convTo" name="convertTo" onchange="getFirstUnit();">
<option id="°C">Celsius (°C)</option>
<option id="°F" selected>Fahrenheit (°F)</option>
<option id="°K">Kelvin (°K)</option>
<option id="°R">Rankine (°R)</option>
</select>
<br>
<div class="form-group">
<input class="form-control" type="text" id="convertSecondUnit" placeholder="Enter value" onkeyup="getSecondUnit();" onchange="getSecondUnit();">
</div>
</div><!-- /.second box -->
</div>
</td>
</tr>
</table>
<div class="units-table">
<div class="panel panel-default">
<div class="google-ads">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ad_mobile -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3177476202399448"
data-ad-slot="1545571617"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="panel-heading">
<h3 class="panel-title"><b>Definition</b></h3>
</div>
<div class="panel-body">
<h5>
Temperature is a measure of the degree of heat, i.e. how hot something is. An object that is very hot has a high temperature and something that is not hot has a low temperature. The temperature of the air, air temperature, is usually measured with a thermometer.
</h5>
</div>
<div class="panel-heading">
<h3 class="panel-title"><b>Result</b></h3>
</div>
<div class="panel-body">
<p id="convert-result"></p>
</div>
<div class="panel-heading">
<h3 class="panel-title"><b>Temperature conversion cheat sheet</b></h3>
</div>
<div class="panel-body">
<p>1 Celsius = 33.8 Fahrenheit
<br>1 Fahrenheit = -17.22 Celsius
<br>1 Fahrenheit = 255.92777778 Kelvin
<br>1 Kelvin = -457.87 Fahrenheit
<br>1 Rankine = 0.55555556 Kelvin</p>
</div>
<div class="panel-heading">
<h3 class="panel-title"><b>Units used in this converter</b></h3>
</div>
<div class="panel-body">
<p>
Celsius, Fahrenheit, Kelvin, Rankine
</p>
</div>
</div>
</div><!-- /.units-table -->
</div><!-- /.convert-units -->
</div><!-- /.container -->
<footer class="footer">
<p class="text-muted">© 2016 converters-online.com
<a href="how-to-use.html">How to use</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</p>
</footer><!-- /.footer -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js?version=1"></script>
<script src="js/units.js?version=1"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>