-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (75 loc) · 2.74 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
<!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="styles/reset.css" /> -->
<link rel="stylesheet" href="./final/css/styles.css" />
<!-- Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<title>Weather Dashboard</title>
</head>
<body>
<header
class="container-fluid text-center text-white bg-dark 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 search-div">
<h2 id="form-heading" class="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 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>
<hr class="hr weather-hr" />
</div>
</div>
</div>
</form>
<div class="list-group" id="history">
<ul class="city-list"></ul>
</div>
</aside>
<div class="col-8 m-2 today-card">
<section role="region" aria-live="polite">
<div id="today" class="row-8 card-body-current row-top"></div>
</section>
<section role="region" aria-live="polite">
<h2 style="margin-top: 15px !important">5-Day Forecast:</h2>
<div id="forecast" class="row mt-3"></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="./final/js/script.js"></script>
</body>
</html>