-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (48 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Show Local Weather</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="./css/ShowLocalWeatherCSS.css">
<link rel="stylesheet" type="text/css" href="./css/queries.css">
</head>
<body>
<div class="container">
<!-- HEADER -->
<div class="header">
<h1>Show Local Weather</h1>
<h3>Shows JSON data after getting the visitor's geolocation.</h3>
</div>
<!-- LEFT SIDE -->
<div class="left-side">
<p class="left-titles"><strong>City: </strong></p>
<p class="fade left-api-data city-data">n/a</p>
<p class="left-titles"><strong>Description: </strong></p>
<p class="fade left-api-data weather-desc">n/a</p>
<p class="left-titles"><strong>Humidity: </strong></p>
<p class="fade left-api-data humidity-data">n/a</p>
<p class="left-titles"><strong>Wind speed: </strong></p>
<p class="fade left-api-data wind-data">n/a</p>
<!-- RIGHT SIDE -->
<div class="right-side">
<div class="fade weather-icon"></div>
<div class="fade weather-number">72.5 ℉</div>
<br>
<button class="temp-btn">Switch to Celsius/Fahrenheit</button>
</div>
<br/>
<!-- BOTTOM -->
<div class="bottom-side">
<h2>Coordinates</h2>
<br>
<strong>Latitude: </strong><span class="fade lat-data">n/a</span>
<br>
<strong>Longitude: </strong><span class="fade lon-data">n/a</span>
</div>
</div> <!-- End of left-side div. -->
</div> <!-- End of container div. -->
<script src="./js/jquery-3.5.0.min.js"></script>
<script src="./js/ShowLocalWeatherJS.js"></script>
</body>
</html>