-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (87 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<title>Forecast</title>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="src/styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Poppins&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="app-border">
<form class="search-form" id="search-form">
<div class="row">
<div class="col-6">
<input
type="search"
placeholder="Enter a city"
autofocus="on"
autocomplete="off"
id="city-input"
class="form-control shadow-sm"
/>
</div>
<div class="col-3">
<input class="btn btn-dark w-100" type="submit" value="Search" />
</div>
<div class="col-3">
<button
class="btn btn-secondary w-100"
id="current-location-button"
>
Current
</button>
</div>
</div>
</form>
<div class="city-border">
<div class="overwiew">
<h1 id="city"></h1>
<ul>
<li id="date"></li>
<li id="description"></li>
</ul>
</div>
<div class="row">
<div class="col-6">
<div class="weather-temperature">
<img src="" class="icon" id="icon">
<div class="float-left">
<strong class="temperature" id="temperature"></strong>
<span class="units">°C</span>
</div>
</div>
</div>
<div class="col-6">
<ul class="weather-description">
<li>Humidity: <span id="humidity"></span>%</li>
<li>Wind: <span id="wind"></span>m\h</li>
</ul>
</div>
</div>
</div>
<div class="weather-border" id="forecast"></div>
<small
><a href="https://github.com/yuliiazubenko/app" target="_blank"
>Open-source code</a
>, by Yuliia Zubenko</small
>
</div>
</div>
</div>
</div>
<script src="src/index.js"></script>
</body>
</html>