-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 3.13 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
<!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 href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<title>Atmospheric Weather Forecast</title>
</head>
<body style="background-image: url(./assets/galaxy.jpg);background-repeat:no-repeat;" alt="Image of a galaxy">
<header class="container-fluid text-end text-light bg-transparent p-6 weather-header">
<h1>Cosmic Weather Forecast</h1>
</header>
<!-- max width for bigger resolution -->
<div class="container-fluid" style="max-width: 1400px">
<div class="row">
<aside class="col-sm-12 col-md-3 col-lg-2">
<h2 id="form-label" class="mt-1 h4 form-label text-light bg-transparent"> Search for a City: </h2>
<form id="search-form" class="form">
<input class="form-input weather-search form-control mb-3 border border-primary-subtle"
type="text" id="search-input" required aria-labelledby="form-heading"
aria-controls="today forecast" />
<button type="submit" class="btn btn-primary w-100" id="search-button"
aria-label="submit search"> Search </button>
<hr class="hr weather-hr" />
</form>
<button type="button" id="current-location" class="btn btn-success w-100">
<i class="fa-solid fa-location-dot"></i> Current Location </button>
<div class="list-group" id="history"></div>
</aside>
<main class="col-sm-12 col-md-9 col-lg-10 pb-3">
<section id="search-results" class="mt-1"></section>
<section>
<ul id="search-results-list" class="list-group list-inline"></ul>
</section>
<section id="today" class="mt-3" role="region" aria-live="polite"></section>
<section id="forecast" class="row mt-3" role="region" aria-live="polite">
<h2 id="five-day" style="color: white;"></h2>
<div
class="d-flex flex-wrap justify-content-evenly justify-content-sm-evenly justify-content-md-between forecast">
</div>
</section>
</main>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.6.4.min.js"
integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8=" crossorigin="anonymous"></script>
<!-- moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>