-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (68 loc) · 3.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css"> <!-- Link to external stylesheet -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="java.js" defer></script><!--defer attribute tell the browser to wait until the page has finished parsing before executing the script-->
<title>Weather Dashboard</title>
</head>
<body>
<h1>Weather Dashboard</h1>
<div class="loading">Loading...</div><!-- Placeholder for loading indicator -->
<div class="container">
<div class="weather-input">
<h3>Enter a City Name</h3>
<input class="city-input"type="text" placeholder="E.g New York ,London ,Tokyo."><!-- Input field for entering city name -->
<button class="search-btn">Search</button><!-- Button to initiate city search -->
<div class="separator"></div> <!-- Separator line -->
<button class="location-btn">Use Current Location</button> <!-- Button to use current location -->
</div>
<div class="weather-data">
<div class="current-weather">
<div class="details">
<h2>-_______ (_____)</h2><!-- Placeholder for current weather details -->
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</div>
</div>
<div class="days-forcast">
<h2>5-Days Forcast</h2>
<ul class="weather-cards">
<li class="cards"> <!-- Repeat similar structure for 5 forecast cards -->
<h2>( _____ )</h2><!--dashes as placeholder--><!-- Placeholder for forecast date -->
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</li>
<li class="cards">
<h2>( _____ )</h2>
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</li>
<li class="cards">
<h2>( _____ )</h2>
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</li>
<li class="cards">
<h2>( _____ )</h2>
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</li>
<li class="cards">
<h2>( _____ )</h2>
<h4>Temp:__ºC</h4>
<h4>Wind Speed:__ M/S</h4>
<h4>Humidity:__%</h4>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>