-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (90 loc) · 4 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
<!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>weather finder</title>
<link href="/assests/styles/style.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
</head>
<body>
<header>
weather finder
</header>
<!-- SEARCH AND HISTORY SECTION -->
<section id="search-history-section">
<!-- SEARCH SUBSECTION -->
<subsection id="search-subsection">
<span id="search-city-span">search city</span>
<form id="search-form">
<input type="text" id="search-textbox" placeholder="enter city here">
<button type="submit" id="search-submit-button">SEARCH</button>
</form>
</subsection>
<!-- HISTORY SUBSECTION -->
<subsection id="history-subsection">
<span id="history-span">HISTORY</span>
<span id="history1" class="history-items">Empty for now</span>
<span id="history2" class="history-items"></span>
<span id="history3" class="history-items"></span>
<span id="history4" class="history-items"></span>
<span id="history5" class="history-items"></span>
</subsection>
</section>
<!-- WEATHER DISPLAY SECTION -->
<section id="weather-display-section">
<!-- SEARCHED CITY CURRENT WEATHER SUBSECTION -->
<subsection id="current-weather-subsection">
<subsection id="date-icon-subsection">
<span id="today-date">Date</span>
<i id="today-weather-icon"></i>
</subsection>
<span id="today-temp">temperature</span>
<span id="today-wind">wind</span>
<span id="today-humidity">humidity</span>
</subsection>
<!-- FIVE DAY FORECAST SPAN -->
<span id="forecast-span">5 DAY FORECAST</span>
<!-- FIVE DAY FORCAST SUBSECTION -->
<subsection id="five-day-weather-subsection">
<div class="forecast-div" id="">
<span id="forecastDate1">date</span>
<span id="forecastIcon1">weather icon</span>
<span id="forecastTemp1">temperature</span>
<span id="forecastWind1">wind</span>
<span id="forecastHumidity1" class="humiditySpan">humidity</span>
</div>
<div class="forecast-div" id="">
<span id="forecastDate2">date</span>
<span id="forecastIcon2">weather icon</span>
<span id="forecastTemp2">temperature</span>
<span id="forecastWind2">wind</span>
<span id="forecastHumidity2" class="humiditySpan">humidity</span>
</div>
<div class="forecast-div" id="">
<span id="forecastDate3">date</span>
<span id="forecastIcon3">weather icon</span>
<span id="forecastTemp3">temperature</span>
<span id="forecastWind3">wind</span>
<span id="forecastHumidity3" class="humiditySpan">humidity</span>
</div>
<div class="forecast-div" id="">
<span id="forecastDate4">date</span>
<span id="forecastIcon4">weather icon</span>
<span id="forecastTemp4">temperature</span>
<span id="forecastWind4">wind</span>
<span id="forecastHumidity4" class="humiditySpan">humidity</span>
</div>
<div class="forecast-div" id="">
<span id="forecastDate5">date</span>
<span id="forecastIcon5">weather icon</span>
<span id="forecastTemp5">temperature</span>
<span id="forecastWind5">wind</span>
<span id="forecastHumidity5" class="humiditySpan">humidity</span>
</div>
</subsection>
</section>
<script src="/assests/scripts/main.js"></script>
</body>
</html>