-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (54 loc) · 2.24 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Weather Dashboard</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css">
</head>
<body>
<main>
<nav class="navbar bg-primary bg-opacity-75">
<div class="container-fluid justify-content-center">
<h1 class="p-3 m-0 text-white">Weather Dashboard</h1>
</div>
</nav>
<div class="container">
<div class="row">
<div class=" p-3 col-12 col-lg-3">
<h3>Search for City:</h3>
<form id="submit-form">
<div class="mb-3">
<input type="search" class="form-control" id="search-input" name="search-input">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<div id="searched-cities" class="text-center">
<div class="cities mt-1 mx-5 text-center" id="cities"></div>
</div>
</div>
<div class="col-12 col-lg-9">
<div id="current-weather" class="row pt-5">
<div class="col-12">
<div class="p-3 my-2" id="card-container">
<h3 id="city"></h3>
<div id="weather-icon" width="100" height="100"></div>
<p id="current-temp"></p>
<p id="current-wind"></p>
<p id="current-humidity"></p>
</div>
</div>
</div>
<div id="five-day" class="row"></div>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>;
<script src="./assets/script/script.js"></script>;
</body>
</html>