-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (98 loc) · 3.16 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
<!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>Miyyah Weather App</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<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=Lobster&display=swap"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script
src="https://kit.fontawesome.com/677265b051.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="src/styles.css" />
</head>
<body>
<div class="container">
<div class="weather-app">
<form>
<input
type="text"
placeholder="Search your city"
class="search"
autocomplete="off"
autofocus="on"
id="search"
/>
<input class="btn btn-primary" type="submit" value="Submit" />
<button type="button" class="btn btn-outline-dark" id="theme">
📍
</button>
<button
type="button"
class="btn btn-outline-dark"
id="location-button"
>
🌎
</button>
</form>
<h1 class="cityName"></h1>
<p class="weather">
<span id="mainWeather">18</span
><span class="units"
><a href="#" id="celsius-link">°C</a>|<a
href="#"
id="farenheit-link"
>°F</a
></span
>
</p>
<h3 class="time">Time In Your City</h3>
<ul>
<li><img src="" id="icon" /><span id="description">Cloudy</span></li>
<li>
<i class="fas fa-wind"> <span id="wind-speed">9</span>m/h</i>
</li>
<li>
<i class="fas fa-umbrella"><span id="humidity">90</span>%</i>
</li>
</ul>
<div class="card" style="width: 18rem">
<div class="card-body">
<h5 class="card-title">Hey!..</h5>
<p class="card-text">
Sunshine is delicious,rain is refreshing,wind braces us up,snow is
exhilarating;there is really no such thing as bad weather,only
different kinds of good weather. 😃
</p>
</div>
</div>
<h6>Let's get you "Weather-ready" for the next few days😁</h6>
<div id="forecast-block"></div>
<p>
<a href="https://github.com/MiyyahCodes/weather-app"
>Open source code</a
>
and
<a href="https://youthful-benz-6b500f.netlify.app/"
>hosted on Netlify</a
>
by Miyyah
</p>
</div>
</div>
<script src="src/index.js"></script>
</body>
</html>