-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (59 loc) · 2.51 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
67
68
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes">
<title>Server Side APIs Weather Dashboard</title>
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.7.0.min.js"
integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<h1>Weather Application Dashboard</h1>
<h2>Javier Morales</h2>
</header>
<main class="container-fluid my-5">
<div class="row">
<aside class="col-12 col-md-3">
<form class="searchCity">
<input class="input-field" type="text" id="city-search">
<button class="btn btn-primary" type="submit" id="search-button">Search City</button>
</form>
<div>
<div id="listofCities" class="city-list"></div>
<button class="btn btn-warning" id="clear">Reset Search</button>
</div>
</aside>
<section class="col-12 col-md-9">
<div class="row">
<div class="col-12">
<div class="showCity">
<p>You can search for any city in the world.</p>
<ul id="currentCity"></ul>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div id="weatherIcons"></div>
</div>
</div>
<div class="row">
<div class="col-12">
<div id="forecast-5"></div>
</div>
</div>
</section>
</div>
</main>
<script src="./script.js"></script>
</body>
</html>