-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (46 loc) · 1.69 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
<!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">
<title>Weather Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/style.css" />
</head>
<body>
<div class="container">
<div class="row">
<h1>Weather Dashboard</h1>
</div>
<div class="row gx-5">
<div class="col-4">
<div class="row">
<h2>Search for a City:</h2>
<input type="text" class="form-control search-items" id="search-bar" placeholder="San Diego">
<button type="button" class="btn btn-primary search-items" onclick="searchData()">Search</button>
<div id="search-history"></div>
</div>
<div class="row">
</div>
</div>
<div class="col-8">
<div id="city-info">
<h2 id="city-and-date"></h2>
<li id="temp"></li>
<li id="wind"></li>
<li id="humidity"></li>
<li id="uvindex"></li>
</div>
<div class="row" id="forecastHeader">
</div>
<div class="row" id="fiveDayContainer">
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="./assets/script.js"></script>
</body>
</html>