-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (48 loc) · 1.57 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
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="main.css">
<!-- Title -->
<title>Weather App</title>
<link rel="shortcut icon" type="image/png" href="./images/favicon.png">
</head>
<body>
<div class="container">
<div class="locationInfo">
<span id="city">Loading</span>
<span id="country">location...</span>
<p id="weatherDescription"></p>
<div class="unitToggleBox">
<span class="tempUnit">°C</span>
<label class="switch">
<input type="checkbox">
<div class="toggleBtn"></div>
</label>
<span class="tempUnit">°F</span>
</div>
</div>
<div class="innerContainer">
<div class="weatherInfo">
<p>Temperature</p>
<p id="temp"></p>
</div>
<div class="weatherInfo">
<p>Humidity</p>
<p id="humidity"></p>
</div>
<div class="weatherInfo">
<p>Wind</p>
<p id="wind"></p>
</div>
</div>
</div>
<p class="noLocation">We are unable to retrieve your location :(</p>
<!-- Custom JS -->
<script src="app.js"></script>
</body>
</html>