-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (45 loc) · 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
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700&display=swap" rel="stylesheet">
<!-- bootstrap link -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- custom style sheet -->
<link rel="stylesheet" href="Assets/CSS/style.css" />
<title>Weather Dashboard</title>
</head>
<body>
<header>
<h1 class="bg-primary bg-gradient p-3 text-light text-center">Weather Dashboard</h1>
</header>
<main class="row justify-space-between">
<div class="col-12 col-md-4">
<div class="card">
<h3 class="card-header card-title">Search for a City</h3>
<form id="user-form" class="card-body">
<input type="text" id="cityname" class="col" autofocus="true" placeholder="Spring City" />
<button type="submit" class="btn btn-primary col">Search</button>
</form>
</div>
</div>
<!-- current weather area -->
<div class="col-12 col-md-8">
<h2 class="subtitle">Displaying Weather for: <span id="weather-search-term"></span></h2>
<div id="city-container" class="list-group"></div>
</div>
<!-- saved cities section -->
<div class="col-12 col-md-4" id="saved-city-container">
</div>
<!-- 5 day forecast area -->
<div class="col-12 col-md-8">
<h3 class="subtitle">5-Day Forecast</h3>
<div id="forecast-container" class="row"></div>
</div>
</main>
<script src="./Assets/JS/script.js"></script>
<!-- day.js used for dates and time of day -->
</body>
</html>