-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (48 loc) · 2.41 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
<!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">
<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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link rel="stylesheet" href="assets\style.css">
</link>
<title>Weather App By City</title>
</head>
<body>
<header id="header" class="jumbotron jumbotron-fluid text-container">
<h1 class="display-2">Weather Dashboard</h1>
</header>
<section class="container" id="content">
<div class="row">
<div id="left-side" class="col-md-3">
<form>
<label for="searchBar">Search by City:</label>
<div class="form-row">
<input id="searchBar" class="form-control" name="city" value=""></input>
<button id="searchBtn" class="btn btn-primary" type="submit"><i
class="fas fa-search"></i></button>
</div>
</form>
<ul id="searchResults" class="list-group mt-4"></ul>
<a id="clear" href="#"></a>
</div>
<div id="right-side" class="col-md-9 pt-4">
<div id="weather" class="border rounded"></div>
<div id="forecast" class="mt-5"></div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="assets\script.js"></script>
</body>
</html>