-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (93 loc) · 2.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link href="src/styles.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>Weather App</title>
</head>
<body>
<div class="container">
<div class="weather-app">
<img class="logo" src="images/logo.jpg" width="100px" />
<form class="search-form" id="search-form">
<div class="row">
<div class="col-9">
<input
type="search"
placeholder="Type a city.."
autofocus="on"
autocomplete="off"
class="form-control shadow-sm"
id="input-type-city"
/>
</div>
<div class="col-3">
<input
type="submit"
value="Search"
class="form-control btn btn-primary shadow-sm"
id="search-btn"
/>
</div>
</div>
</form>
<div class="row">
<div class="col-6">
<h1 id="current-city"></h1>
<ul>
<li id="daytime"></li>
<li id="weather-conditions"></li>
</ul>
</div>
<div class="col-6" id="sunrise-sunset-block">
<li id="sunrise"></li>
<li id="sunset"></li>
</div>
</div>
<div class="row">
<div class="col-6">
<div class="clearfix weather-temperature">
<img
src="https://ssl.gstatic.com/onebox/weather/64/partly_cloudy.png"
alt="Cloudy icon"
class="weather-icon float-left"
id="main-weather-icon"
/>
<div class="float-left">
<span class="temperature" id="temperature"></span>
<span class="units" id="celsius"></span>
</div>
</div>
</div>
<div class="col-6">
<ul>
<li id="humidity"></li>
<li id="wind"></li>
<li id="feelTemp"></li>
</ul>
</div>
</div>
<div class="WeatherForecast row" id="futureTemperature"></div>
<div class="fio">
<a
href="https://github.com/AngyUg/wether-app-project"
class="fio"
id="pas"
target="_blank"
>my open source-code on GitHub</a
>
</div>
</div>
</div>
<script src="src/index.js"></script>
</body>
</html>