-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
272 lines (242 loc) · 10.5 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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="This web application provides a simple and intuitive interface for converting temperatures between Celsius and Fahrenheit. Whether you need quick temperature conversions for cooking, weather analysis, or any other purpose, this tool has got you covered."
/>
<meta name="keywords" content="Temperature Converter,celsius to fahrenheit,Online Temperature Converter,fahrenheit to celsius, Free Temperature Conversion,how to fahrenheit to celsius, how to convert celsius to fahrenheit">
<title>Temperature Convertor</title>
<!-- Open Graph -->
<meta property="og:title" content="Temperature Converter" />
<meta property="og:site_name" content="Temperature Converter" />
<meta
property="og:url"
content="https://neel-07.github.io/Temperature-Converter/"
/>
<meta
property="og:description"
content="This web application provides a simple and intuitive interface for converting temperatures between Celsius and Fahrenheit. Whether you need quick temperature conversions for cooking, weather analysis, or any other purpose, this tool has got you covered."
/>
<meta property="og:type" content="website" />
<meta
property="og:image"
content="https://i.postimg.cc/pVgKKQPX/temp.png"
/>
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@yourTwitterHandle" />
<meta name="twitter:title" content="Temperature Converter" />
<meta
name="twitter:description"
content="This web application provides a simple and intuitive interface for converting temperatures between Celsius and Fahrenheit. Whether you need quick temperature conversions for cooking, weather analysis, or any other purpose, this tool has got you covered."
/>
<meta
name="twitter:image"
content="https://i.postimg.cc/pVgKKQPX/temp.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/favicon/favicon-16x16.png"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<link rel="stylesheet" href="styles.css" />
<!-- Added CDN for tour guide -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/intro.min.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/minified/introjs.min.css"
/>
<!-- Added CDN for font-awesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Added CDN for Tooltip -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF"
crossorigin="anonymous"
></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300&display=swap" rel="stylesheet">
<!--Contact-Us-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
</head>
<body>
<nav class="navbar nav">
<div class="header">
<h1>Temperature Converter</h1>
<span class="temperature-icon"
><i class="fas fa-temperature-high"></i
></span>
</div>
<div class="start-tour-button">
<!-- <button>Get Started</button> -->
<button class="cssbuttons-io-button" id="startTourButton">
Get started
<div class="icon">
<svg
height="24"
width="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M0 0h24v24H0z" fill="none"></path>
<path
d="M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z"
fill="currentColor"
></path>
</svg>
</div>
</button>
</div>
</nav>
<div class="containers">
<div
class="temperature-input"
id="celsius"
data-step="1"
data-intro="Hello"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="Convert Celsius Here"
>
<input type="number" id="celsiusInput" placeholder="Celsius" />
<span class="unit">°C</span>
</div>
<div
class="temperature-input"
id="fahrenheit"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="Convert Fahrenheit Here"
>
<input type="number" id="fahrenheitInput" placeholder="Fahrenheit" />
<span class="unit">°F</span>
</div>
<div
class="temperature-input"
id="kelvin"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="Convert Kelvin Here"
>
<input type="number" id="kelvinInput" placeholder="Kelvin" />
<span class="unit">K</span>
</div>
<div class="button">
<button class="Btn" id="clearButton">
<span>Clear All</span>
<i class="fa-solid fa-broom"></i>
</button>
<!-- <button class="button"></button> -->
</div>
</div>
<section class="footer">
<div class="footer-content">
<h2>Temperature Converter</h2>
<p class="footer-para">
Simplify temperature conversions with our user-friendly tool. Quickly
switch between Celsius, Fahrenheit, and Kelvin using HTML, CSS, and
JavaScript. Stay connected for more updates! 🌡️🔥❄️
</p>
</div>
<div class="container">
<!-- Contact us form -->
<div class="contact-us">
<center>
<button class="btn btn-outline-secondary btn-lg" type="button" data-toggle="collapse"
data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample"
id="button-contact" onclick="toggleContactForm()">
<div class="contact-btn-text" id="contact">
Contact Us
</div>
</button>
<div class="collapse" id="collapseExample">
<div class="card-card-body">
<div class="container">
<div class="row">
<div class="col-sm" id="contact-form-text">
<h1> Contact Us </h1>
<p>
Share your temperature conversion needs with us, and we'll provide accurate solutions. Our expert team ensures precise conversions to meet your requirements
</p>
</div>
<div class="col-sm" id="contact-options">
<form name="contact_form" id="contact" method="post"
onsubmit="mailto(event)">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name"
name="contact_name" placeholder="Enter your name">
</div>
<div class="form-group">
<label for="placename">Feedback/Query/Suggestion</label>
<input type="text" class="form-control" id="placename"
name="contact_place" placeholder="Enter your feedback/query/suggestion ">
</div>
<button type="submit" class="btn btn-primary"
id="button-contact">Submit</button>
</form>
</div>
</div>
</div>
</div>
</center>
</div>
</div>
<!-- Contact us form -->
<div class="social">
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-snapchat"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter" style="color: #14b383;"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</div>
<hr />
<p class="copyright-heading">Made with ❤️</p>
<div class="visitor-counter">
📊 Visitor Counter
<a href="https://www.freecounterstat.com" title="website view counter"><img style="width: 90px;" src="https://counter6.optistats.ovh/private/freecounterstat.php?c=md46zrwxzylj8wbjpa94hdbhqe2kzy49" border="0" title="website view counter" alt="website view counter"></a>
</div>
<p class="copyright">© 2023 - Temperature Converter</p>
</section>
<script src="script.js"></script>
</body>
</html>