-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (46 loc) · 2.2 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 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-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/f9326279c7.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<header>
<h1 class="text-light pt-3 text-center ps-5">Weather Dashboard</h1>
</header>
<div class="container-fluid">
<div class="row gap-2">
<div class="vstack gap-2 col-md-3 text-start">
<h2 class="my-3">Search for a City:</h2>
<label for="cityName"></label>
<input type="text" id="cityName" placeholder="San Diego">
<button type="button" id="searchButton" class="btn text-light" style="background-color: #16223F">Search</button>
<hr/>
<div class= "vstack gap-2 text-start" id="cityList"></div>
</div>
<div class="col-md-8">
<div class="row border border-dark mt-2 mx-2" id="currentDisplay">
<h2 class="pt-1">Search for a city to get started!</h2>
</div>
<div class="row">
<h2 class="mt-3">5-day Forecast:</h2>
<div class="card-deck row" id="futureDisplay">
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<script type="text/javascript" src="./assets/js/logic.js"></script>
</body>
</html>