-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (29 loc) · 1.01 KB
/
index.html
File metadata and controls
31 lines (29 loc) · 1.01 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Cities Weather</title>
<link rel="stylesheet" href="index.css">
</head>
<div id="main-wrapper">
<form id="Location-input">
<label for="City">Input city</label><input type="text" name="City" id="City" required />
<br />
<label for="Country">Input country code first 2 letters</label><input type="text" name="Country" id="Country" required />
<button id="Fetch-weather-btn" name="Fetch-weather-btn" type="submit">Fetch weather</button>
</form>
<section id="Weather-container">
<button id="Toggle-unit-btn" name="Toggle-unit-btn">In fahrenheit</button>
<button id="Save-location-btn" name="Save-location-btn">Save location</button>
<header id="Weather-display">
</header>
<section id="Saved-locations-btns-container">
</section>
</section>
<br />
</div>
<!-- script files below-->
<script src="index.js"></script>
</body>
</html>