-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (59 loc) · 2.59 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
<!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/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" 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=Finger+Paint&display=swap" rel="stylesheet">
<link rel="stylesheet" href="src/styles.css" />
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>Weather App</title>
</head>
<body>
<video autoplay muted loop class="video-clouds">
<source src="./videos/clouds.mp4" type="video/mp4">
</video>
<div class="container">
<form id="search-form">
<div class="row">
<div class="col-8">
<input type="search" class="form-control" placeholder="Type a city" autofocus="on" autocomplete="off"
id="city-input">
</div>
<div class="col-3">
<button class="btn" type="button" id="btn-current"><img src="./images/pin.png" width=18>
Current</button>
</div>
</div>
</form>
<div class="row mainCity">
<div class="col">
<h1 class="city-name" id="city-name">Kyiv</h1>
<p class="timeDay">Last updated: <span id="date"></span></p>
</div>
</div>
<div class="row">
<div class="col col-currentTemp">
<img src="" id="icon" alt="" width="130px"/>
<p class="description" id="description"></p>
</div>
<div class="col">
<h2 class="currentTemp"><span id="currentTemp"></span><a link="#" id="celsius-link" class="units units-hover">
°C</a><span class="units"> |</span><a href="#" id="fahrenheit-link" class="units units-hover"> °F</a></h2>
<ul class="weatherDescription">
<li><img src="./images/thermometer.png" class="img-description"/> Feels like: <span id="feels-like"></span><small
class="units-feels"> °C</small></li>
<li><img src="./images/humidity.png" class="img-description"/> Humidity: <span id="humidity"></span>%</li>
<li><img src="./images/windy.png" class="img-description"/> Wind: <span id="wind"></span> m/h</li>
</ul>
</div>
<div class="weatherWeek" id="forecast"></div>
</div>
</div>
<script src="./src/script.js"></script>
</body>
</html>