-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (90 loc) · 4.42 KB
/
index.html
File metadata and controls
99 lines (90 loc) · 4.42 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html lang="en" class="h-100">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="canonical" href="https://getbootstrap.com/docs/4.6/examples/sticky-footer-navbar/">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="Assets/style.css">
<title>Weather Dashboard</title>
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-dark bg-dark">
<p class="nav-name">Weather Dashboard</p>
</nav>
</header>
<main class="flex-shrink-0 mb-5">
<div class="container-fluid">
<div class="row">
<div class="col-sm-2">
<div class="row ml-2 mt-3">
<div class="col-sm-12">
<label>Search for a City</label>
<form class="d-flex">
<input class="form-control mr-2" type="text" id="given-input">
<button class="btn btn-primary" type="submit" value="Submit"
id="submitBtn">Submit</button>
</form>
<aside class="col-sm-12" id="searched">
<!-- City searched goes here -->
</aside>
</div>
</div>
</div>
<hr>
<div class="col-sm-10 justify-content-center" id="issues">
<div class="row mt-3" id="one-day">
<h2>Today's Forecast:</h2>
<hr>
<div
class="col-sm-11 jumbotron jumbotron-fluid rounded-pill jumbotron-back border border-success">
<div class="container" id="fetch">
<p class="display-4" id="fetch-elm"></p>
<!-- Daily forecast goes here -->
</div>
</div>
<div class="col-sm-12">
<h2>5 Days Forecast:</h2>
<hr>
</div>
<div class="col-sm-12" id="five-days">
<div class="row" id="fetch-five">
<!-- Five days forecast goes here -->
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">© Tolga Secme, 2020, All Rights Reserved.</span>
</div>
</footer>
<!-- Optional JavaScript; choose one of the two! -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<!--Option 1: jQuery and Bootstrap Bundle (includes Popper) -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"></script>
<script src="Assets/script.js"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js"
integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF"
crossorigin="anonymous"></script> -->
</body>
</html>