-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (64 loc) · 3.54 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
<!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/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/css/style.css">
<body class="w-auto">
<header class="bg-info text-center w-auto position-sticky top-0 start-50">
<h1 class="w-auto">
<a href="./index.html" class="text-decoration-none text-white fw-bolde">Weather Dashboard</a>
</h1>
</header>
<section class="vh-100 container">
<div class="row">
<!-- Left side container with input, search, and history of past searches -->
<div class="bg-primary bg-info bg-opacity-20 col-md-3 col-sm-12 h-auto ">
<h3 class="w-auto"></h3>
<p></p>
<form class="d-flex flex-column justify-content-center">
<label for="city-finder"></label>
<input type="text" name="city-finder" id="city-finder">
<button type="submit" class="sub-btn " id="sub-btn">Search</button>
</form>
<div class="p-2 d-flex flex-column" id="display-history"></div>
</div>
<!-- Right side top container with most recent search with details -->
<div class="bg-secondary bg-opacity-5 bg-gradient col-md-9 col-sm-12 p-2">
<div class="row justify-content-center">
<div class="bg-info col-12 p-1 text-center ">
<h3 class="bg-secondary bg-gradien rounded text-white shadow text-center border-bottom border-white"
id="display-city-name"></h3>
<img class="border shadow rounded-circle" id="todays-icon">
<p id="display-city" class="shadow-sm p-3 mb-1 bg-body rounded"></p>
<p id=current-temp class=""></p>
<p id="wind" class=""></p>
<p id="humidity" class=""></p>
<p id="uv-index" class=""></p>
</div>
</div>
<!-- Right side bottom container with 5 day forcast -->
<div class="row">
<div class="col-12 col bg-info mt-3 text-center">
<h3 class="shadow border-bottom border-white bg-secondary bg-gradien rounded text-white">
5-day-forcast</h3>
<div class="row justify-content-center bg-info bg-gradien p-1 h-auto text text-center"
id="weather-blocks"></div>
</div>
</div>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>