-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (37 loc) · 1.41 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
<!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 App</title>
<link rel="stylesheet" href="./index.css">
<script defer src="./main.js"></script>
</head>
<body>
<div class="wrapper">
<h1>Check the Weather</h1>
<div class="error-panel"></div>
<form id="weatherForm" action="">
<input id="city" required placeholder="City's name" type="text">
<select name="mode" id="mode">
<option value="metric">Metric</option>
<option value="imperial">Imperial</option>
</select>
<button type="submit">Get Forecast</button>
</form>
<h2></h2>
<div class="weather-grid">
<img src="./icons/cloud.svg" alt="clouds" class="icon" title="Clouds">
<p class="weather-info"></p>
<img src="./icons/temp.svg" alt="temperature" class="icon" title="Temperature">
<p class="weather-info"></p>
<img src="./icons/air.svg" alt="wind speed" class="icon" title="Wind Speed">
<p class="weather-info"></p>
<img src="./icons/humidity.svg" alt="humidity" class="icon" title="Humidity">
<p class="weather-info"></p>
</div>
<h3></h3>
</div>
</body>
</html>