-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (102 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>City Weather</title>
<link rel="stylesheet" href="styles/css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="./styles/img/logo.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuzzyset.js/1.0.5/fuzzyset.js" integrity="sha512-+Ym8BFRwb9OTB3eAvcyViEX0xO1JzQ4T+x8feCNFy0+AaLxZOEjDEmFZxTTNhX5QM/ryzBslkm9NSmullvfndw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/places.js@1.19.0/dist/cdn/places.min.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-3d"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.js" integrity="sha512-BwHfrr4c9kmRkLw6iXFdzcdWV/PGkVgiIyIWLLlTSXzWQzxuSg4DiQUCpauz/EWjgk5TYQqX/kvn9pG1NpYfqg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet-src.js" integrity="sha512-x4B5AXtD8SqDqEpzOFXxCE0OOUhQ0Fep3Qka6WtUa3tw7z4fC7eOI4Vjm191HB63//4Y554Zxydbt2Hi8b+bVQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet-src.min.js" integrity="sha512-3/WyQrhTdqSVmSifQS62akgtNBhZha2lS44TnoN9Jk3J01FvsKK4suVmz6t5FtccGb5iJw58GoFhBjPE5EPc8Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.js" integrity="sha512-puJW3E/qXDqYp9IfhAI54BJEaWIfloJ7JWs7OeD5i6ruC9JZL1gERT1wjtwXFlh7CjE7ZJ+/vcRZRkIYIb6p4g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tween.js/18.6.4/tween.umd.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.128/examples/js/controls/OrbitControls.js"></script>
<script defer type="module" src="/app.js" ></script>
</head>
<body>
<img class="container__background" src="/styles/img/background.jpg" />
<div id="loadingSpinner" class="spinner"></div>
<nav class="nav">
<div class="nav__container_logo">
<img class="nav_logo" src="./styles/img/logo.png" alt="WeatherLogo"/>
</div>
<div class="nav__links">
<ul>
<li>
<a href="">Map Explore</a>
</li>
<li>
<a href="">Country's info</a>
</li>
<li>
<a href="">About</a>
</li>
</ul>
</div>
</nav>
<div class="earth-container" id="earth-container"></div>
<main class="container">
<form id="form" class="search-box" >
<label for="input" id="label" class="labelu-margin-bottom-small ">Get data about any country, city, town</label>
<div>
<input type="text" id="input" placeholder="Cairo" class="search-box__input">
<span></span>
<button id="search-btn" type="submit" class="search-box__button">
<span class="search-box__search-i-1 search-box__icon"></span>
<span class="search-box__search-i-2 search-box__icon"></span></span>
</button>
</div>
<div id="suggestions" class="suggestions"></div>
</form>
<div class="buttons_contanier">
<button>Map</button>
<button>Info</button>
<button>Weather</button>
</div>
<div class="results">
<div id="chartContainer" class="chart-container">
<div id="checkboxes"></div>
<canvas id="economicChart" width="800" height="400"></canvas>
</div>
</div>
<div class="weather-info weather-info_hidden">
<div class="weather-detiles" id="weather-detiles">
<div>
<p class="weather-detiles__det" id="temperature"></p>
<span id="wind-temperature_head"></span>
</div>
<div>
<p class="weather-detiles__det" id="humidity"></p>
<span id="wind-humidity_head"></span>
</div>
<div>
<p class="weather-detiles__det" id="wind-speed"></p>
<span id="wind-speed_head"></span>
</div>
<div>
<p class="weather-detiles__det" id="description"></p>
<span id="wind-description_head"></span>
</div>
<div id="weather-details__hide_clouds">
<p class="weather-detiles__det" id="clouds"></p>
<span id="wind-clouds_head"></span>
</div>
</div>
</div>
<!-- <div id="map"></div> -->
<!-- <div id="chartContainer"></div> -->
</main>
<div class="top-cities">
<div id="top-cities"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/places.js@1.19.0"></script>
</body>
</html>