forked from Technigo/project-weather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (55 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="style.css" />
<script
src="https://kit.fontawesome.com/2e83762929.js"
crossorigin="anonymous"
></script>
<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=Handlee&family=Nunito+Sans:opsz,[email protected],200;6..12,300&family=Nunito:wght@200&family=Roboto:ital,wght@0,300;1,300&display=swap"
rel="stylesheet"
/>
<title>Ericas weather app</title>
</head>
<body>
<div class="weather-background" id="weather-background">
<header>
<!-- hamburgermenu for show -->
<i class="fa-solid fa-bars"></i>
<!-- search-bar for show -->
<div class="search">
<input type="search" id="search" placeholder="Search for city ... " />
</div>
</header>
<section class="weather-today" id="weather-today">
<!-- div with info about todays forecast -->
<div class="todays-forecast">
<div class="todays-temperature" id="todays-temperature"></div>
<div class="weather-location" id="weather-location"></div>
<div class="todays-weather" id="todays-weather"></div>
<div class="sun-type" id="sun-type">
<div class="todays-sunrise" id="sunrise"></div>
<div class="todays-sunset" id="sunset"></div>
</div>
</div>
<!-- div with the time of day for icons -->
<div class="todays-time-of-day" id="todays-time-of-day">
</div>
</div>
<button class="switch-button" id="switch-button">
<img src="./design/assets/arrow-up-3100.png">
</button>
</section>
<main>
<section class="weather-forecast">
<div class="forecast-list" id="forecast-list"></div>
</section>
</main>
<script src="./fetch-weather-api.js"></script>
</body>
</html>