-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (91 loc) · 3.44 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
<!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
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous" />
<link rel="preconnect" href="https://fonts.bunny.net" />
<link href="https://fonts.bunny.net/css?family=gotu:400" rel="stylesheet" />
<link rel="stylesheet" href="./assets/css/style.css" />
<script
src="https://kit.fontawesome.com/f549d17040.js"
crossorigin="anonymous"></script>
<title>Weather Dashboard</title>
</head>
<body>
<div id="loader">
<p class="header-title">Forecast</p>
</div>
<header class="container-fluid p-0 weather-header position-fixed">
<div class="navbar p-2">
<h1 class="h6 header-title ps-3">Forecast</h1>
<div class="search-wrapper">
<div class="input-group d-flex align-items-end flex-nowrap">
<p id="form-heading" class="me-3 form-label visually-hidden">
Search for a City:
</p>
<form id="search-form" class="form w-100">
<div class="form-inline form-group">
<div class="input-group flex-nowrap">
<input
class="form-input weather-search bg-transparent"
type="text"
id="search-input"
placeholder="Search"
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">
<i class="fa-solid fa-search" aria-hidden="true">
<span class="visually-hidden">Search</span></i
>
</button>
</div>
</div>
</div>
</form>
<div class="history-button">
<button id="history-button" class="btn history-button">
<i class="fa-solid fa-clock-rotate-left" aria-hidden="true">
<span class="visually-hidden">Search History</span>
</i>
</button>
</div>
</div>
</div>
</div>
<div
class="list-group no-show rounded-0 position-absolute"
id="history"></div>
</header>
<main class="weather-main bg-image">
<section
id="today"
class="d-flex align-items-end ps-3 pb-3"
role="region"
aria-live="polite"></section>
<section
id="forecast"
class="w-100"
role="region"
aria-live="polite"></section>
</main>
<!-- Moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="./assets/js/geocoder.js"></script>
<script src="./assets/js/script.js"></script>
<script src="./assets/js/height.js"></script>
<script src="./assets/js/header.js"></script>
</body>
</html>