-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.html
75 lines (68 loc) · 2.61 KB
/
code.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
<!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="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<link rel="stylesheet" href="style.css">
<body>
<section class="container">
<!-- for writing the input field search -->
<div class="weather_header">
<form class="weather_search">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="text" class="city_name" placeholder="search your city_name">
</form>
</div>
<!-- main code or the main data -->
<div class="weather_body">
<h1 class="weather_city"></h1>
<p class="weather_date_time"></p>
<div class="weather_data">
<p class="weather_forecast"></p>
<div class="weather_icon"></div>
</div>
<p class="weather_temperature"></p>
<div class="weather_minmax">
<p class="weather_min"></p>
<p class="weather_max"></p>
</div>
<section class="weather_info">
<div class="weather_card">
<i class="fa-solid fa-temperature-three-quarters"></i>
<div>
<p>Feels like</p>
<p class="weather_feelslike">15°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-droplet"></i>
<div>
<p>Humidity</p>
<p class="weather_humidity">15°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-wind"></i>
<div>
<p>Wind</p>
<p class="weather_wind">15°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-gauge-high"></i>
<div>
<p>Pressure</p>
<p class="weather_pressure">15°</p>
</div>
</div>
</section>
</div>
</section>
<script src="script.js"></script>
</body>
</html>