-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (76 loc) · 2.58 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!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" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"
rel="stylesheet"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="src/style.css" />
<title>WeatherApp</title>
</head>
<body>
<div class="container">
<div class="search-wrapper">
<form id="search-form">
<div class="row">
<div class="col-9">
<input
type="search"
placeholder="Search city"
class="form-control"
id="city-input"
autocomplete="off"
/>
</div>
<div class="col-2">
<input type="submit" value="Search" class="btn btn-primary" />
</div>
</div>
</form>
</div>
<div class="weather-app-wrapper">
<h1 id="city"></h1>
<div class="weather-app">
<img src="" alt="sunny" id="icon" />
<h3 id="weatherStatus"></h3>
<h4 id="date"></h4>
<h2 id="temperature"></h2>
<div class="measure">
<a href="#" id ="celsius-link" class="active">°C</a> |
<a href="#" id="farenheit-link" class="farenheit">°F</a>
</div>
<div class="row row-cols-2 weatherConditions">
<div class="col">Humidity: <span id="humidity"></span>%</div>
<div class="col">Feels like: <span id="feels"></span>°</div>
<div class="col">Wind: <span id="wind"></span> k/ph</div>
<div class="col">
H <span id="high"></span>° | L <span id="low"></span>°
</div>
</div>
</div>
<h5 class = "upcoming-days">
Next 6 days
</h5>
<div class="weather-forecast" id="forecast">
</div>
<small class="source">
<a href="https://github.com/karicardiel/WeatherApp.git" target="_blank"
>Open-sourced code </a
>by Kari Cardiel
</small>
</div>
<script src="src/app.js"></script>
</body>
</html>