-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
130 lines (124 loc) · 4.21 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
<!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">
<!-- <img src="" alt="weather icon" class="w-icon" />
<div class="others">
<div class="day"></div>
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div> -->
</div>
<div class="weather-forecast" id="weather-forecast">
<!-- <div class="weather-forecast-item">
<div class="day"></div>
<img src="" alt="weather icon" class="w-icon" />
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div>
<div class="weather-forecast-item">
<div class="day"</div>
<img src="" alt="weather icon" class="w-icon" />
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div>
<div class="weather-forecast-item">
<div class="day"></div>
<img src="" alt="weather icon" class="w-icon" />
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div>
<div class="weather-forecast-item">
<div class="day"></div>
<img src="" alt="weather icon" class="w-icon" />
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div>
<div class="weather-forecast-item">
<div class="day"></div>
<img src="" alt="weather icon" class="w-icon" />
<div class="temp">Night - °C</div>
<div class="temp">Day - °C</div>
</div> -->
</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>