-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTimeConverter.html
More file actions
58 lines (38 loc) · 1.7 KB
/
TimeConverter.html
File metadata and controls
58 lines (38 loc) · 1.7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Time Zone Converter</title>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<script src="./script.js"></script>
<!-- Select 2 JS -->
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<!-- Select 2 CSS -->
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<!-- Style CSS -->
<link rel="stylesheet" href="ProjectStyle.css">
</head>
<body>
<div class="main">
<h1>Time Zone Converter</h1>
<h3>Convert from your local time to the desired timezone from the list below.</h3>
<div class="container">
<div class="conversion-container">
<label for="fromTimeZone">From Time Zone:</label><br>
<select class="select-timezone" id="fromTimeZone"></select><br>
<br><label for="toTimeZone">To Time Zone:</label><br>
<select class="select-timezone" id="toTimeZone"></select><br><br>
<label for="inputTime">Enter Time:</label>
</div>
<div class="convert-time">
<input type="datetime-local" id="inputTime"><br><br>
</div>
<button class="but" onclick="convertTime();">Convert Time</button>
<button class="but" onclick="goBack();">Back to Menu</button>
<div class="result-container" id="result">
</div>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>