-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 1.37 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 1.37 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!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="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="weather-icons.min.css"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="fixed-top mt-5">
<div class="container">
<h1>Weather App</h1>
<form id="search">
<input
id="city"
name="city"
class="form-control form-control-lg"
type="text"
placeholder="Enter a location to get weather forecast"
/>
</form>
</div>
</div>
<div class="fixed-bottom mb-5">
<div class="container">
<div class="row">
<div id="name" class="col-sm h3 my-2 text-left align-middle">
City Name
</div>
<div id="condition" class="col-sm h3 my-2 text-center">
Weather Condition
</div>
<div id="temperature" class="col-sm h3 my-2 text-right">
Temperature
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>