-
Notifications
You must be signed in to change notification settings - Fork 0
/
length.html
306 lines (300 loc) · 17.6 KB
/
length.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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="css/style.css">
<title>Metric Conversion - Length</title>
</head>
<body>
<!------Navbar------>
<nav class="navbar navbar-expand-lg navbar-light sticky-top">
<div class="container-fluid">
<a class="navbar-brand text-light fs-1 fw-bold" href="index.html"><img src="images/Untitled-1.png" alt="" srcset="" style="height: 20%; width: 50%;padding-bottom: 15px; padding-left: 10px;"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link text-decoration-none px-4 active text-light fs-6" aria-current="page"
href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-decoration-none px-4 text-light fs-6" href="">Articles</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link text-decoration-none px-4 dropdown-toggle text-light fs-6" href="#"
id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Conversions
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="length.html"><i style="color: #f5a425;"
class="fa-solid fa-ruler-combined"></i> Length Conversion</a></li>
<li><a class="dropdown-item" href="area.html"><i style="color: #f5a425;"
class="fa-solid fa-earth-americas"></i> Area Conversion</a></li>
<li><a class="dropdown-item" href="volume.html"><i style="color: #f5a425;"
class="fa-solid fa-flask"></i> Volume Conversion</a></li>
<li><a class="dropdown-item" href="mass.html"><i style="color: #f5a425;"
class="fa-solid fa-scale-balanced"></i> Mass Conversion</a></li>
<li><a class="dropdown-item" href="temperature.html"><i style="color: #f5a425;"
class="fa-solid fa-temperature-low"></i> Temperature Conversion</a>
</li>
<li><a class="dropdown-item" href="currency.html"><i style="color: #f5a425;"
class="fa-solid fa-money-bill-1"></i> Currency Conversion</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link text-decoration-none px-4 text-light fs-6" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link text-decoration-none px-4 text-light fs-6" href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!----section1------>
<section>
<div class="overlay"></div>
<video playsinline="playsinline" autoplay="autoplay" muted="muted" loop="loop">
<source src="videos/bg-video.mp4" type="video/mp4">
</video>
<div class="container h-100">
<div class="d-flex h-100 text-center align-items-center">
<div class="w-100 text-white">
<h1 class="display-2 fw-bold"><span style="color: #f5a425;">Metric</span> Conversion</h1>
<p class="lead fw-bold font-monospace">Charts and calculators for metric conversion</p>
<br>
</div>
</div>
</div>
</section>
<!-----Section2------->
<section style="background: #172238;">
<div class="container">
<div class="row">
<div class="col-md-6">
<input type="number" style="width: 35vw; line-height: 40px;"
class="form-control text-center fw-bold my-3 ms-1" name="number" placeholder="Input" id="input">
</div>
<div class="col-md-6" style="display: inline-block;">
<input type="number" style="width: 35vw; line-height: 40px;"
class="form-control text-center fw-bold my-3 ms-1" name="number" placeholder="Output"
id="result">
</div>
</div>
<!--Dropdown-->
<div class="container">
<div class="row">
<div class="col-md-6">
<select class="form-select rounded p-2 border border-warning text-center fw-bold w-50"
id="inputType">
<option value="meter">Meter</option>
<option value="kilometer">Kilometer</option>
<option value="feet">Feet</option>
<option value="yards">Yards</option>
<option value="miles">Miles</option>
<option value="millimeter">Milimeter</option>
<option value="inches">Inches</option>
</select>
</div>
<br>
<div class="col-md-6">
<select class="form-select rounded p-2 border border-warning text-center fw-bold w-50"
id="resultType">
<option value="meter">Meter</option>
<option value="kilometer">Kilometer</option>
<option value="feet">Feet</option>
<option value="yards">Yards</option>
<option value="miles">Miles</option>
<option value="inches">Inches</option>
<option value="millimeter">Milimeter</option>
</select>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row g-2">
<div class="col-6">
<button onclick="inchTOmm()"
class="rounded p-3 text-decoration-none border border-warning text-center fw-bold w-75 ms-4 cbtn"><i
class="fa-solid fa-ruler-combined"></i> Inches - Milimeters</button>
</div>
<div class="col-6">
<button onclick="ftTOm()"
class="rounded p-3 text-decoration-none border border-warning text-center fw-bold w-75 ms-5 cbtn"><i
class="fa-solid fa-ruler-combined"></i> Feet - Meters</button>
</div>
<div class="col-6">
<button onclick="yardTOm()"
class="rounded p-3 text-decoration-none border border-warning text-center fw-bold w-75 ms-4 cbtn"><i
class="fa-solid fa-ruler-combined"></i> Yards - Meters</button>
</div>
<div class="col-6">
<button onclick="mileTOkm()"
class="rounded p-3 text-decoration-none border border-warning text-center fw-bold w-75 ms-5 cbtn"><i
class="fa-solid fa-ruler-combined"></i> Miles - Kilometers</button>
</div>
</div>
</div>
</div>
</section>
<!----Section2----->
<section style="background: url(images/coming-soon-bg.jpg);">
<h1 class="fw-bold text-center text-light my-3">History of <span style="color: #f5a425;"
class="fw-bold text-center my-3">Metric Conversion</span></h1>
</section>
<!-------Footer ----------->
<footer class="text-white pt-5 pb-4" style="background: url(images/contact-bg.jpg);" id="about">
<div class="container text-center text-md-left">
<div class="row text-center text-md-left">
<div class="col-md-4 mx-auto mt-3">
<h5 class="text-uppercase mb-4" style="color: #f5a425;">Feedback</h5>
<p>We will be glad to know from you how your experience was. Be sure to tell us and if there is
complaint, Please contact us.
Click the button below for feedback
</p>
<!-- Button trigger modal -->
<button type="button" class="btn rounded border border-warning fw-bold fdbtn" data-bs-toggle="modal"
data-bs-target="#exampleModal">
Feedback
</button>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content"
style="background: url(images/video-bg.jpg) center/cover no-repeat; border: 2px solid #f5a425;">
<div class="modal-header">
<h5 class="modal-title" style="color: #f5a425;" id="exampleModalLabel">Feedback Form
</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body" style="text-align: left;">
<label for="FirstName:" class="col-form-label">First Name</label>
<br>
<input type="text" class="form-control" placeholder="Enter First Name" id=""
required>
</div>
<div class="modal-body" style="text-align: left;">
<label for="LastName:" class="col-form-label">Last Name</label>
<br>
<input type="text" class="form-control" placeholder="Enter Last Name" id=""
required>
</div>
<div class="modal-body" style="text-align: left;">
<label for="Email:" class="col-form-label">Email</label>
<br>
<input type="email" name="email" id="" class="form-control" placeholder="Email"
required>
</div>
<div class="modal-body" style="text-align: left;">
<label for="Message:" class="col-form-label">Type Your Message Here...</label>
<br>
<textarea class="form-control"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn rounded border border-warning font-monospace mdbtn"
data-bs-dismiss="modal">Close</button>
<button type="button"
class="btn rounded border border-warning font-monospace mdbtn">Submit</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 mx-auto mt-3">
<h5 class="text-uppercase mb-4" style="color: #f5a425;">Useful Links</h5>
<p>
<a href="#" class="text-white text-decoration-none hov">Home</a>
</p>
<p>
<a href="#" class="text-white text-decoration-none hov">Conversions</a>
</p>
<p>
<a href="#" class="text-white text-decoration-none hov">Blog</a>
</p>
<p>
<a href="#" class="text-white text-decoration-none hov">Services</a>
</p>
</div>
<div class="col-md-4 mx-auto mt-3" id="contact">
<h5 class="text-uppercase mb-4" style="color: #f5a425;">Contact</h5>
<p>
<i class="fa-solid fa-house mr-3" style="color: #f5a425;"></i> North Nazimabad, 74600
PAK
</p>
<p>
<a class="text-white text-decoration-none" href="#"><i class="fa-solid fa-envelope mr-3"
style="color: #f5a425;"></i> mohammadanis75786@gmail.com</a>
</p>
<p>
<a class="text-white text-decoration-none" href="#"><i class="fa-brands fa-whatsapp-square mr-3"
style="color: #f5a425;"></i> +023240211371</a>
</p>
<p>
<a class="text-white text-decoration-none" href="#"><i class="fa-solid fa-phone-flip mr-3"
style="color: #f5a425;"></i> +923458190740</a>
</p>
</div>
</div>
<hr class="mb-4">
<div class="row align-items-center">
<div class="col-md-7 col-lg-8">
<p>Copyright ©2022 | All Rights Reserved by:
<a href="#" class="text-decoration-none">
<strong style="color: #f5a425;">Aptech</strong>
</a>
</p>
</div>
<div class="col-md-5 col-lg-4">
<div class="text-center text-md-right">
<ul class="list-unstyled list-inline">
<li class="list-inline-item">
<a href="#" class="btn-floating btn-sm text-white" style="font-size: 23px;"><i
class="fa-brands fa-facebook"></i></a>
</li>
<li class="list-inline-item">
<a href="#" class="btn-floating btn-sm text-white" style="font-size: 23px;"><i
class="fa-brands fa-twitter"></i></a>
</li>
<li class="list-inline-item">
<a href="#" class="btn-floating btn-sm text-white" style="font-size: 23px;"><i
class="fa-brands fa-instagram"></i></a>
</li>
<li class="list-inline-item">
<a href="#" class="btn-floating btn-sm text-white" style="font-size: 23px;"><i
class="fa-brands fa-linkedin-in"></i></a>
</li>
<li class="list-inline-item">
<a href="#" class="btn-floating btn-sm text-white" style="font-size: 23px;"><i
class="fa-brands fa-youtube"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<script src="js/length.js"></script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
-->
</body>
</html>