-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
66 lines (58 loc) · 3.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<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">
<!-- FontAwesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous"/>
<!-- Style CSS -->
<link rel="stylesheet" href="./assets/css/style.css">
<title>Weather Dashboard</title>
</head>
<body>
<!-- Jumbotron to display the City name upon search -->
<div id="header" class="jumbotron jumbotron-fluid text-container">
<h1 id="header-text" class="display-2"></h1>
<div id="artist-credit"></div>
</div>
<!-- Main container for webpage content -->
<div id="content" class="container">
<div class="row">
<!-- Left side content with city search box and appended cities -->
<div id="content-left" class="col-md-3">
<form>
<label for="search-city">Search for a City:</label>
<div class="form-row">
<input id="search-city" class="form-control" name="city" value="Austin"></input>
<!-- fontawesome magnifying glass -->
<button id="search-button" class="btn btn-primary" type="submit"><i class="fas fa-search"></i></button>
</div>
</form>
<div id="search-error"></div>
<!-- list of prior searched cities -->
<ul id="city-results" class="list-group mt-4"></ul>
<!-- clear storage button -->
<a id="clear-storage" href="#"></a>
</div>
<!-- Right side content showing current weather and five day forecast displays on search -->
<div id="content-right" class="col-md-9 pt-4">
<!-- Current weather displayed on top -->
<div id="current-weather" class="border rounded"></div>
<!-- Five day forecast below the current weather -->
<div id="five-day-forecast" class="mt-5"></div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<!-- Bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<!-- Custom Script -->
<script src="./assets/js/script.js"></script>
</body>
</html>