-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (78 loc) · 2.41 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
<!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="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="style.css" />
<title>Weather Dashboard</title>
</head>
<body>
<!-- Top Container -->
<div class="container">
<div class="current-info">
<div class="date-container">
<div class="time" id="time"></div>
<div class="date" id="date"></div>
<div class="others" id="current-weather-items">
<div class="weather-item">
<div>Temperature</div>
<div id="temperatureSet"></div>
</div>
<div class="weather-item">
<div>Wind</div>
<div id="windSet"></div>
</div>
<div class="weather-item">
<div>Humidity</div>
<div id="humiditySet"></div>
</div>
<div class="weather-item">
<div>UV Index</div>
<div id="uvSet"></div>
</div>
</div>
</div>
<div class="place-container">
<div class="city" id="city"></div>
<div class="country" id="country"></div>
<img
src="https://openweathermap.org/img/wn/[email protected]"
alt="weather icon"
class="w-icon"
/>
</div>
</div>
</div>
<!-- Lower Container -->
<div class="lower-container">
<div class="city-search">
<div class="search-heading">5 Day Forecast</div>
<form>
<input
class="form-item"
type="search"
id="search-input"
placeholder="Choose a City"
/>
<button class="form-item" id="search-btn" type="submit">
Search
</button>
<br />
<div class="search-history">
</div>
</form>
</div>
<div class="weather-forecast" id="weather-forecast">
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.23.0/moment.min.js"></script>
<script src="script.js"></script>
</body>
</html>