forked from Technigo/project-weather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (96 loc) · 2.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>Sofias Weather App | Week 4</title>
<link
rel="shortcut icon"
href="./design/design1/assets/Group36.png"
type="image/x-icon" />
<link
rel="stylesheet"
href="./style.css" />
<script
src="https://kit.fontawesome.com/de4c4c2e83.js"
crossorigin="anonymous"></script>
</head>
<body class="fullscreen">
<div class="weather-background">
<header>
<button id="menu-btn">
<i class="fa-solid fa-bars fa-2xl"></i>
</button>
<h1>Sofias Weather App</h1>
<nav class="nav hidden">
<button
class="close"
id="close">
<i class="fa-solid fa-xmark fa-2xl"></i>
</button>
<div class="search-wrapper">
<input
type="search"
name="location"
id="location-search"
class="input"
placeholder="search..." />
<button
type="button"
class="search-btn">
<i class="fa-solid fa-magnifying-glass fa-xl"></i>
</button>
</div>
<h2 class="nav-heading">Locations</h2>
<ul class="nav-list">
<li class="geo">
<i class="fa-solid fa-location-dot fa-xl"></i> Your current
location
</li>
<li class="nav-item">Stockholm</li>
<li class="nav-item">Zürich</li>
<li class="nav-item">Andermatt</li>
<li class="nav-item">Biarritz</li>
<li class="nav-item">Sydney</li>
<li class="nav-item">Singapore</li>
<li class="nav-item">Los Angeles</li>
<li class="nav-item">Cape Town</li>
</ul>
</nav>
</header>
<section
id="weather-today"
class="weather-today-wrapper">
<p class="temp-current">...<span>°C</span></p>
<img
src="./design/design1/assets/sun.svg"
alt="Sun is up!"
class="weather-img" />
<p class="city">...</p>
<p class="weather-desc">...</p>
<div class="sun">
<div id="sunrise">
<p class="label">sunrise</p>
<p class="time">...</p>
</div>
<div id="sunset">
<p class="label">sunset</p>
<p class="time">...</p>
</div>
</div>
</section>
<button
class="scroll-arrow"
id="scroll-arrow">
<i class="fa-solid fa-chevron-down fa-2xl"></i>
</button>
</div>
<section
id="weather-forecast"
class="weather-forecast-wrapper hidden"></section>
<footer></footer>
<script src="./script.js"></script>
</body>
</html>