forked from Technigo/project-weather-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
52 lines (51 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
<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=Roboto:wght@100&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="header-background"></div>
<div class="searchBar">
<img src="./search.svg" class="lookingGlass" />
<input type="search" id="search" placeholder="Search for a city..." />
<div class="theX">X</div>
</div>
<section class="weather-header" id="weather-header">
<!-- City and weather info here -->
<div id="weather-section">
<div class="top-temp">
<h1 class="temperature" id="temperature">Temperature</h1>
<p>°C</p>
</div>
<h4 class="city" id="city">City</h4>
<div class="typeOfWeatherData">
<h3 class="typeOfWeather" id="typeOfWeather"></h3>
<img id="weatherIconTop" src="" />
</div>
</div>
</section>
<div class="sunriseandsunset" style="position: relative; bottom: 5px">
<div class="sunrise">
<p style="font-size: large">sunrise</p>
<h2 id="sunrise">Sunrise</h2>
</div>
<div class="sunset">
<p style="font-size: large">sunset</p>
<h2 id="sunset">Sunset</h2>
</div>
</div>
<div class="forecast"></div>
</div>
<script src="script.js"></script>
</body>
</html>