-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (46 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="index.css">
<title>Weather API</title>
</head>
<body>
<div id="app">
<!-- Search Bar-->
<div id="searchBar">
<input type="text" id="searchBarInput" placeholder="Search By City">
<button id="searchIcon" onclick="getWeather()" ><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
<!-- Date& City-->
<div id="info">
<p id="date"></p>
<h3 id="city"></h3>
</div>
<!--Weather Image-->
<div id="tempImg"></div>
<!--Description-->
<div id="description"></div>
<!--Temp-->
<div id="temp"></div>
<!-- Info at the bottom -->
<div class="extra-info">
<div class="col">
<div class="info">
<h5>Highs</h5>
<p id="temp-max"></p>
</div>
</div>
<div class="col">
<div class="info">
<h5>Lows</h5>
<p id="temp-min"></p>
</div>
</div>
</div>
</div>
</body>
<script src="app.js"></script>
</html>