-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (38 loc) · 1.63 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
<!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 rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<header>
<h1 class="border border-primary text-center text-white font-weight-bold">Weather Dashboard</h1>
</header>
<main class="d-flex flex-wrap">
<div class="col-12 col-md-3">
<form id="search-form" class="d-flex flex-column border-bottom">
<h2 class="font-weight-bold">Search for a City:</h2>
<input type="text" name="search" id="search" class="rounded-lg" placeholder="San Diego">
<button type="submit" id="search-btn" class="my-3 rounded-lg">Search</button>
</form>
<div id="search-history" class="border-bottom"></div>
<div id="delete-div"></div>
</div>
<div class="col-12 col-md-9">
<!-- Current Weather -->
<div id="current-weather" class=""></div>
<!-- 5-day forecast -->
<div id="forecast">
<h4 id="forecast-title"></h4>
<div id="forecast-card-container" class="d-flex flex-wrap justify-content-between"></div>
</div>
</div>
</main>
<script src="https://kit.fontawesome.com/53d380c88e.js" crossorigin="anonymous"></script>
<script src="assets/js/script.js"></script>
</body>
</html>