-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (59 loc) · 2.68 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
<!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">
<title>Weather Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<link href="https://fonts.googleapis.com/css2?family=Alkatra&display=swap" rel="stylesheet">
</head>
<body>
<nav id="navbar">
<!-- <div class="container-fluid"> -->
<!-- <span class="navbar-brand mb-0 h1 text-light" id='titleText'>Weather Dashboard</span> -->
<h1 id='pageTitle'>Weather Dashboard</h1>
<!-- </div> -->
</nav>
<main class="d-flex flex-row">
<aside class="p-3 m-3">
<div class="row g-3 align-items-center">
<div class="row">
<h5 id='label'>Search for a City:</h5>
</div>
<div class="row btn-cont">
<input type="text" id="search-city" class="form-control" aria-describedby="passwordHelpInline">
</div>
<div class="row btn-cont">
<button type="button" class="btn btn-primary" id="search-btn">Submit</button>
</div>
</div>
<section class="row">
<h5 id ='previous'> Previous Search</h5>
<div id="search-history" class="d-grid gap-2">
</div>
</section>
</aside>
<section class="row">
<h1 id='forecastText'>Forecast:</h1>
<article id="current-forecast" class="col-md-12">
</article>
<h2 id='fivedayText'>5 Day Forecast:</h2>
<article id="fiveday-forecast" class="col-md-12 d-flex flex-wrap justify-content-evenly"></article>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<script src="script.js"></script>
</body>
</html>