-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (113 loc) · 4.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="src/style.css" />
<title>MeteoInsight</title>
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⛅</text></svg>"
/>
<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=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script>
<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=DM+Serif+Text:ital@0;1&display=swap" rel="stylesheet">
</head>
<body>
<h6></h6>
<video id="background-video" class="background-video" autoplay loop muted>
<source
src="src/images/default.mp4"
type="video/mp4"
/>
</video>
<div class="main">
<header>
<div class="search-form">
<form id="search">
<input
type="search"
id="input-search"
placeholder="Enter a city.."
required
class="inp"
/>
<input type="submit" id="input-submit" value="Search" />
</form>
</div>
</header>
<br>
<main>
<div class="place">
<span class="city">Paris</span><span class="country">,FR</span>
</div>
<div class="current-forecast">
<ul id="current">
<li id="condtns">
<span id="day-time">Tuesday 13:43</span>
<br>
<div class="min-max" id="conditions">Max <span class="max">25</span>°C| Min <span class="Min">15</span>°C</div>
<div class="conditions" id="conditions">
<i><strong><span class="cond">Haze</span></strong></i> Humidity <strong><span class="Humidity">14</span>%</strong><br/>Wind <strong><span class="wind"> 7.4</span>km/hr</strong>
</div>
</li>
<li class="currtemp">
<div class="temp">
<span class="current-temp-icon">⛅</span
><span class="current-temperature">20</span><span class="celsius">°C</span>
</div>
</li>
</ul>
</div>
<hr height="1px" width="600px" />
<div class="Forecast-tab">
<ul id="days">
<li id="day1">
<div class="day1" class="day">WED</div>
<div class="day1-icon">⛅</div>
<div class="day1-maxmin"><span class="day1max">25</span>°C | <span class="day1min">20</span>°C</div>
</li>
<li id="day2">
<div class="day2" class="day">THURS</div>
<div class="day2-icon">☀️</div>
<div class="day2-maxmin" class="maxmin"><span class="day2max">25</span>°C | <span class="day2min">17</span>°C</div>
</li>
<li id="day3">
<div class="day3" class="day">FRI</div>
<div class="day3-icon" class="icon-forecast">⛅</div>
<div class="day3-maxmin"><span class="day3max">25</span>°C | <span class="day3min">17</span>°C</div>
</li>
<li id="day4">
<div class="day4" class="day">SAT</div>
<div class="day4-icon" class="icon-forecast">⛅</div>
<div class="day4-maxmin" class="maxmin"><span class="day4max">25</span>°C | <span class="day4min">17</span>°C</div>
</li>
<li id="day5">
<div class="day5" class="day">SAT</div>
<div class="day5-icon" class="icon-forecast">🌦️</div>
<div class="day5-maxmin" class="maxmin"><span class="day5max">25</span>°C | <span class="day5min">17</span>°C</div>
</li>
<li id="day6">
<div class="day6" class="day">SUN</div>
<div class="day6-icon" class="icon-forecast">🌧️</div>
<div class="day6-maxmin" class="maxmin"><span class="day6max">17</span>°C | <span class="day6min">10</span>°C</div>
</li>
</ul>
</div>
<hr height="1px" width="600px" />
<br />
</main>
<footer>
Coded by <a href="https://github.com/vidhiisaxena/Weather_Forecast/">Vidhi Saxena</a><br>
hosted on <a href="http://vercel.com/">Vercel</a>
</footer>
<script src="src/script.js"></script>
</body>
</html>