-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (92 loc) · 3.07 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
101
102
103
104
105
106
107
108
109
110
111
112
<!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 Swiper's CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css"
/>
<link rel="stylesheet" href="css/style.css" />
<!-- Project font form google -->
<link
href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;500&display=swap"
rel="stylesheet"
/>
<title>Weather app</title>
</head>
<body>
<div class="container">
<aside class="weather">
<div class="weather__container">
<!-- Search form -->
<form autocomplete="off" class="weather__search">
<input
type="text"
class="weather__search--input"
placeholder="Start typing your city..."
autocomplete="false"
/>
<button type="submit" class="weather__search--btn">
<img src="img/search-icon.svg" alt="search" />
</button>
</form>
<!-- results weather -->
<div class="weather__temperature">
<!-- location -->
<!-- result numbers and display -->
</div>
</div>
</aside>
<main class="details">
<div class="details__container">
<div class="details__news">
<h4 class="h4" id="titleNews">today <span>news</span></h4>
<div class="lotties">
<h5 class="h5">
No data found<br />
<small>Please insert a new place to check the weather</small>
</h5>
</div>
<div class="details__slide">
<div class="swiper mySwiper">
<div class="swiper-wrapper slide-container" id="news">
<!-- cards news here -->
<!-- Cards news here -->
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</div>
<h4 class="h4">today <span>highlights</span></h4>
<div class="details__highlights">
<div class="lotties">
<h5 class="h5">
No data found<br />
<small>Please insert a new place to check the weather</small>
</h5>
</div>
</div>
</div>
</main>
</div>
<!-- Lotties animation -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.4/lottie.min.js"></script>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.mySwiper', {
slidesPerView: 'auto',
spaceBetween: 20,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
});
</script>
<script src="js/main.js"></script>
</body>
</html>