-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (116 loc) · 5.06 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
113
114
115
116
<!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>Weather</title>
<link rel="stylesheet" href="./styles.css">
<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=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="search">
<h1>Weather <span>Wise</span> </h1>
<input type="text" placeholder="Enter a location..." spellcheck="false" class="search-input">
<button class="search-btn">Search</button>
<div class="logo-scroll">
<p class="logo"><span>Everyday we bring </span>your forecast!</p>
</div>
</div>
<div class="error">
<img src="./images/ghost-outline.svg" class="ghost-image" alt="ghost image">
<h2 class="error-h2">Oops! Invalid Location</h2>
<br>
<p class="error-p">We're sorry, but the location you entered doesn't seem to be valid. Please make sure you're entering a valid city or town name, and try again.
</p>
</div>
<div class="content" id="loadingScreen">
<div class="main-content">
<p class="today"></p>
<h1 class="city">London </h1>
<p class="country">GB</p>
<img src="./images/cloudy.png" alt="" class="weather-icon">
<h2 class="temperature"></h2>
<p class="weather-details"></p>
</div>
<div class="secondary-content">
<div>
<div class="secondary-left">
<div class="details">
<p>Wind:</p>
<span class="wind"></span>
</div>
<div class="details">
<p class="title">Humidity:</p>
<span class="humidity"></span>
</div>
<div class="details">
<p>Pressure</p>
<span class="pressure"></span>
</div>
</div>
<div class="secondary-right">
<div class="details">
<p>Feels like</p>
<span class="feels-like"></span>
</div>
<div class="details">
<p>Sunrise</p>
<span class="sunrise"></span>
</div>
<div class="details">
<p>Sunset</p>
<span class="sunset"></span>
</div>
</div>
<div class="about">
<h1>Weather app</h1>
<p>Part of <a href="https://www.theodinproject.com/" target="_blank">The Odin Project</a></p>
<p>Build with < HTML CSS JS/></p>
</div>
<img src="./images/html-five2.svg" alt="" class="logo">
<img src="./images/css3-shiled.svg" alt="" class="logo">
<img src="./images/java-script.svg" alt="" class="logo">
</div>
<div class="secondary-bottom">
<div class="days">
<!-- <div>
<h3 class="day"></h3>
<p class="day-degrees first-day"><img src="/images/satelite.png" alt="" class="satelite"></p>
</div> -->
<div>
<h3 class="day second-day"></h3>
<p class="day-degrees"></p>
</div>
<div>
<h3 class="day third-day"></h3>
<p class="day-degrees"></p>
</div>
<div>
<h3 class="day fourth-day"></h3>
<p class="day-degrees"></p>
</div>
<div>
<h3 class="day fifth-day"></h3>
<p class="day-degrees"></p>
</div>
<div>
<h3 class="day sixth-day"></h3>
<p class="day-degrees"></p>
</div>
<div>
<h3 class="day seventh-day"></h3>
<p class="day-degrees"></p>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="https://github.com/bbm2910" target="_blank" class="footer">© 2024 BM</a>
<script src="index.js" defer></script>
</body>
</html>