-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (88 loc) · 2.77 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
<!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.0" />
<link rel="stylesheet" href="style.css" />
<title>Get Live Weather</title>
</head>
<body>
<div class="sarch" id="searchDiv">
<form autocomplete="off" id="searchDiv">
<input
autocomplete="false"
name="hidden"
type="text"
style="display: none"
/>
<input type="search" id="searchData" placeholder="Search city ..." />
<button class="btn" id="search"type="submit"">Search</button>
</form>
</div>
<div class="container">
<div class="current-info">
<div class="date-container">
<div class="time" id="time">00:00 <span id="am-pm"></span></div>
<div class="date" id="date"></div>
<div class="others" id="current-weather-items">
<div class="weather-items">
<div class="weather-item">
<div>Humidity</div>
<div></div>
</div>
<div class="weather-item">
<div>Pressure</div>
<div></div>
</div>
<div class="weather-item">
<div>Wind Speed</div>
<div></div>
</div>
<div class="weather-item">
<div>Sunrise</div>
<div></div>
</div>
<div class="weather-item">
<div>Sunset</div>
<div></div>
</div>
</div>
</div>
</div>
<div id="space-map">
<div class="place-container">
<div class="time-zone" id="time-zone">Asia/</div>
<div class="country" id="country">IN</div>
</div>
<div class="mapouter">
<div class="gmap_canvas">
<iframe
width="500"
height="300"
id="iframe"
frameborder="0"
scrolling="no"
marginheight="0"
marginwidth="0"
></iframe>
</div>
</div>
</div>
</div>
</div>
<div class="future-forecast">
<div class="today" id="current-temp">
</div>
<div class="weather-forecast" id="weather-forecast">
</div>
</div>
</body>
<script src="app.js"></script>
</html>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"
integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>