-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (73 loc) · 2.62 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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./assets/style.css">
<!-- <link rel="stylesheet" href="styles/reset.css" />-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" />
<!---->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<title>Weather Dashboard</title>
</head>
<body>
<header class="container-fluid text-center text-white p-2 weather-header">
<h1>Weather Dashboard</h1>
</header>
<!-- max-width for ultra wide resolutions -->
<div class="container-fluid" style="max-width: 1400px">
<div class="row">
<aside class="col-lg-3 pb-3">
<h2 id="form-heading" class="mt-1 h3 form-label">
Search for a City:
</h2>
<form id="search-form" class="form">
<div class="form-inline form-group">
<div class="input-group">
<input class="form-input m-2 weather-search" type="text" id="search-input" placeholder="London"
aria-labelledby="form-heading" aria-controls="today forecast" />
<div class="input-group-append">
<button type="submit" class="btn search-button" id="search-button" aria-label="submit search">
Search
</button>
</div>
<!-- Current city weather -->
<hr class="hr weather-hr" />
</div>
<div id="cities-container"></div>
</div>
</form>
<div class="list-group" id="history"></div>
</aside>
<div class="col-lg-9 pb-3">
<section id="today" class="mt-3" role="region" aria-live="polite">
<!-- Current forecast -->
<div id="current-forecast">
<!-- <h1> <span></span></h1>
<p>Temp:</p>
<p>Wind:</p>
<p>Humidity:</p>-->
</div>
</section>
<section id="forecast" class="row mt-3" role="region" aria-live="polite">
<h2 id="forecast-title"></h2>
<!-- Divs to add the five day forecast-->
<div id="fiveDayForecast">
<div id="forecast-one"></div>
<div id="forecast-two"></div>
<div id="forecast-three"></div>
<div id="forecast-four"></div>
<div id="forecast-five"></div>
</div>
</section>
</div>
</div>
</div>
<!-- Moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="./assets/script.js"></script>
</body>
</html>