-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
218 lines (206 loc) · 8.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#17222d" />
<title>Weather App</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700&display=swap"
rel="stylesheet"
/>
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" href="favicon.png" />
<meta name="apple-mobile-web-app-status-bar" content="#aa7700" />
</head>
<body>
<div class="container">
<img src="images/Asset 1.png" alt="" class="title" />
<div class="innerContainer">
<div class="leftSide">
<div class="topLeft">
<div class="top">
<div class="otherTempTimes">
<div class="tempTimes">
<p class="smaller-font dayofWeek today">Monday</p>
<p class="smaller-font today">
<span class="otherTemp today"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Tuesday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Wednesday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Thursday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Anyday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Saturday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Sunday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
<div class="tempTimes">
<p class="smaller-font dayofWeek">Monday</p>
<p class="smaller-font">
<span class="otherTemp"></span>°C
</p>
<div class="dayIcon"></div>
</div>
</div>
<!-- <button class="scroll rightScroll" id="rightScroll"></button> -->
</div>
</div>
<div class="test">
<div class="middleLeft">
<div class="currentWeatherBackPic" id="currentWeatherBackPic">
<!-- <img src=""
alt="" class="currentWeatherBackPic" > -->
</div>
<div class="selectedWeatherInfo">
<div class="currentWeatherIcon" id="currentWeatherIcon"></div>
<p>
<span class="currentTemp" id="currentTemp">38</span>
°C
</p>
<p class="tempRange">
<span id="tempLow"></span> °C /
<span id="tempHigh"></span> °C
</p>
<p class="weatherCondition" id="weatherCondition"></p>
</div>
</div>
</div>
<div class="bottomLeft">
<div class="otherTempStates" id="otherTempStates">
<div class="tempState">
<img src="icons/humidity.svg" alt="" class="c-icons" />
<p class="state smaller-font">Humidity</p>
<p class="smaller-font">
<span id="humidity">30.6</span><span>%</span>
</p>
</div>
<div class="tempState">
<img src="icons/pressure.svg" alt="" class="c-icons" />
<p class="state smaller-font">Pressure</p>
<p class="smaller-font">
<span id="pressure"></span><span>hPa</span>
</p>
</div>
<div class="tempState">
<img src="icons/windsock.svg" alt="" class="c-icons" />
<p class="state smaller-font">WindDirection</p>
<p class="smaller-font">
<span id="winddirection">30.6</span><span>°</span>
</p>
</div>
<div class="tempState">
<img src="icons/wind.svg" alt="" class="c-icons" />
<p class="state smaller-font">WindSpeed</p>
<p class="smaller-font">
<span id="windspeed">30.6</span><span>m/s</span>
</p>
</div>
<div class="tempState">
<img src="icons/cloud.svg" alt="" class="c-icons" />
<p class="state smaller-font">Cloudiness</p>
<p class="smaller-font">
<span id="cloudiness">30.6</span><span>%</span>
</p>
</div>
</div>
</div>
</div>
<div class="rightSide">
<div class="rightSideContainer">
<div class="rightTop">
<p class="currentDate" id="currentDate"></p>
<img src="icons/" alt="" class="smallerIcon" />
</div>
<div class="rightTop">
<p class="currentTime" id="currentTime"></p>
<img src="icons/" alt="" class="smallerIcon" />
</div>
<div class="rightTop">
<p class="currentLocation" id="currentLocation"></p>
<img src="icons/" alt="" class="smallerIcon" />
</div>
<div class="searchSegment">
<input
type="search"
class="search"
id="search"
placeholder="Enter City Name"
/>
<button id="searchButton" class="searchButton">
<img src="icons/magnifying-glass.png" class="searchIcon" />
</button>
</div>
<div class="controls">
<button type="reset" class="control" id="reset">
<img src="icons/refresh.svg" alt="" class="mediumIcon" />
<!-- Reset -->
</button>
<button type="refresh" class="control" id="refreshWeatherData">
<img
src="icons/weather refresh.svg"
alt=""
class="mediumIcon"
/>
<!-- Refresh Weather -->
</button>
<button class="control" id="history">
<img src="icons/history.svg" alt="" class="mediumIcon" />
<!-- History -->
</button>
<button class="control" id="save">
<img src="icons/save-button.svg" alt="" class="mediumIcon" />
<!-- Save -->
</button>
</div>
</div>
</div>
</div>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="/__/firebase/7.21.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="/__/firebase/7.21.0/firebase-analytics.js"></script>
<!-- Initialize Firebase -->
<script src="/__/firebase/init.js"></script>
<script src="app.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>