-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
119 lines (91 loc) · 3.18 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
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Weather Forecast App | JavaScript App</title>
<link rel="icon" href="img/logo.png">
<meta name="description"
content='A weather app that allows users to get the weather forecast by entering a city name in the search input field or accessing the current location weather details with the "Use Current Location" button. Provides information on temperature, wind speed, humidity, and more.
'>
<meta name="keywords"
content="Weather app, forecast, current location, wind speed, weather, city, temperature, wind, humidity, TypeScript, SCSS">
<meta name="theme-color" content="#610b90">
<link rel="stylesheet" type="text/css" href="css/loader.css" media="all">
<link rel="stylesheet" type="text/css" href="css/home.css" media="all">
<!-- <link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> -->
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="loadingDiv">
<div class="loader">Loading...</div>
</div>
<!-- باقي اقسام الموقع -->
<div id="body">
<h1>Weather Dashboard</h1>
<div class="container">
<div class="weather-input">
<h3>Enter a City Name</h3>
<input class="city-input" type="text"
placeholder="E.g. : Baghdad, Aleppo, Dubai">
<button class="search-btn">Search</button>
<span class="separator"></span>
<button class="location-btn">Use Current Location</button>
</div>
<div class="weather-data">
<div class="current-weather">
<div class="details">
<h2>_______ : ______ </h2>
<h6>Temperature: __°C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</div>
<!-- here we will add using js : .div.icon (img + h4) -->
</div>
<div class="days-forecast">
<h2 class="black-color">5-Day Forecast</h2>
<ul class="weather-cards">
<li class="card">
<h3> ______ </h3>
<h6>Temp: __C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</li>
<li class="card">
<h3> ______ </h3>
<h6>Temp: __C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</li>
<li class="card">
<h3> ______ </h3>
<h6>Temp: __C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</li>
<li class="card">
<h3>( ______ )</h3>
<h6>Temp: __C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</li>
<li class="card">
<h3>( ______ )</h3>
<h6>Temp: __C</h6>
<h6>Wind: __ M/S</h6>
<h6>Humidity: __%</h6>
</li>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/lib/sweetalert2.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>