-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (46 loc) · 1.76 KB
/
index.html
File metadata and controls
52 lines (46 loc) · 1.76 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
<!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="style.css">
<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" />
<title>Weather APP</title>
</head>
<body>
<div id="app">
<!--Search Bar-->
<div id="searchBar">
<input type="text" id="searchBarInput" placeholder="Search by City">
<button onclick="getWeather()" id="searchIcon"><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
<!--Date & City-->
<div id="info">
<p id="date"></p>
<h4 id="city"></h4>
</div>
<!--Weather Image-->
<div id="tempImg"></div>
<!--Description-->
<div id="description"></div>
<!--Temp-->
<div id="temp"></div>
<!--Extra Info-->
<div id="extraInfo">
<div id="col">
<div id="info">
<h5>Highs</h5>
<p id="tempMax"></p>
</div>
</div>
<div id="col">
<div id="info">
<h5>Lows</h5>
<p id="tempMin"></p>
</div>
</div>
</div>
</div>
</body>
<script src="app.js"></script>
</html>