-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (68 loc) · 1.65 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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hello World!</title>
<script src="app.js"></script>
<style>
body {
font-family: Futura, sans-serif;
background: #f7f7f7;
}
div.weather-box {
background: lightgrey;
padding: 0px;
width: 300px;
float:left;
}
h3 {
text-align:center;
background-color: #fcc031;
margin-top:0px;
padding: 10px;
margin-bottom: 10px;
}
.form {
display:flex;
grid-gap: 30px;
}
.form div {
margin-bottom:10px;
}
#show-weather {
margin-top:30px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap:30px;
}
ul {
margin-top:0px;
margin-bottom:30px;
}
</style>
</head>
<body>
<h1>Rain or Shine?</h1>
<div class="form">
<div>
<label for="zip-code">Zip Code</label>
<input type="text" id="zip-code">
</div>
<div>
<label for="date-begin">Start Date</label>
<input type="date" id="date-begin">
</div>
<div>
<label for="date-end">End Date</label>
<input type="date" id="date-end">
</div>
<div>
<button id="get-weather">Show me the weather!</button>
</div>
</div>
<div id="show-weather">
</div>
</body>
</html>