-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (124 loc) · 3.9 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
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="./icons/relicon.png" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://unpkg.com/boxicons@2.0.9/css/boxicons.min.css"
rel="stylesheet"
/>
<title>Weather App</title>
</head>
<body>
<div class="wrapper">
<header style="display: flex">
<i class="bx bx-left-arrow-alt"></i>
<img src="./icons/relicon.png" style="height: 40px; width: 40px" />
Weather App
<a
href="https://www.linkedin.com/in/ghanshyamsinh-zala-1a1b9924b/"
target="_blank"
style="
background-color: #43affc;
font-size: small;
color: white;
border-radius: 5px;
padding: 3px;
margin-left: auto;
text-decoration: none;
"
>
<span>Follow me</span>
</a>
</header>
<section class="input-part">
<p class="info-txt"></p>
<div class="content">
<input
type="text"
spellcheck="false"
placeholder="Enter city name"
required
/>
<div class="separator"></div>
<button>Get Device Location</button>
</div>
</section>
<section class="weather-part">
<img src="" alt="Weather Icon" />
<div class="temp">
<span class="numb">_</span>
<span class="deg">°</span>C
</div>
<div class="weather">_ _</div>
<div class="location">
<i class="bx bx-map"></i>
<span>_, _</span>
</div>
<div class="bottom-details">
<div class="row">
<div class="column feels">
<i class="bx bxs-thermometer"></i>
<div class="details">
<div class="temp">
<span class="numb-2">_</span>
<span class="deg">°</span>C
</div>
<p>Feels like</p>
</div>
</div>
<div class="column humidity">
<i class="bx bxs-droplet-half"></i>
<div class="details">
<span>_</span>
<p>Humidity</p>
</div>
</div>
</div>
<div class="row">
<div class="column wind">
<i class="bx bx-wind"></i>
<div class="details">
<span>_</span>
<p>Wind Speed</p>
</div>
</div>
<div class="column uv">
<i class="bx bx-sun"></i>
<div class="details">
<span>_</span>
<p>UV Index</p>
</div>
</div>
</div>
<div class="row">
<div class="column vis">
<i class="bx bx-show-alt"></i>
<div class="details">
<span>_</span>
<p>Visbility</p>
</div>
</div>
<div class="column pressure_mb">
<i class="bx bx-water"></i>
<div class="details">
<span>_</span><span style="font-weight: 500">mb</span>
<p>Pressure</p>
</div>
</div>
</div>
<button id="openModal" class="btn">Show 7-day forecast</button>
<div id="myModal" class="modal">
<div class="modal-content">
<span id="closeModal" style="cursor: pointer;">×</span>
<div class="forecast"></div>
</div>
</div>
</div>
</section>
</div>
<script src="script.js"></script>
</body>
</html>