-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (80 loc) · 2.62 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
<!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" />
<title>Document</title>
<link href="ctyle.css" rel="stylesheet" type="text/css" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/1f3e42ef9a.js"
crossorigin="anonymous"
></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="wholedoc">
<div class="upper">
<form id="city-form">
<input type="text" id="city-input" placeholder="Search city here" />
<input type="submit" value="Search" id="city-submit" />
<button id="location">Current location</button>
</form>
<div class="current-date" id="today-date">
Sunday, 22th August 2022; 09:44
</div>
</div>
<div class="cotainer">
<div class="card">
<div class="card-body">
<div class="container text-center">
<div class="row">
<div class="col">
<h4 id="my-city"></h4>
<span>
<h1 id="temperature"></h1>
<small id="degrees">
<a href="" id="celcius-link" class="active">°C</a> |
<a href="" id="fahrenheit-link">F</a></small
>
</span>
</div>
<div class="col-4">
<img
id="weatherlogo"
src="http://openweathermap.org/img/wn/[email protected]"
alt=""
/>
</div>
<div class="col">
Humidity: <span id="humidity"> </span> % <br />
Wind: <span id="wind"> </span> km/h <br />
<span id="description"> </span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="day">
<strong> Today</strong>
<hr />
Next 5 days
</div>
<div class="col" id="weatherforecast"></div>
</div>
<span class="name">
<a href="https://github.com/OlgaBorysova/weather-app">
Open-source code
</a>
by Olga Borysova
</span>
<script src="script.js"></script>
</body>
</html>