-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (46 loc) · 1.35 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
<!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>
<style>
body{
text-align: center;
color: aliceblue;
}
h1{
color: rgb(128, 224, 251);
margin-top: 45px;
}
form{
padding: 15px;
}
#lab{
color: rgb(234, 157, 42);
}
#firstdiv{
position: absolute;
}
#img1{
height: 80px;
float: left;
padding: 15px;
margin-left: 15pc;
}
</style>
<link rel="stylesheet" href="style.css">
</head>
<body background="https://media2.giphy.com/media/xVn3ZmKrKIOLS/giphy.gif?cid=ecf05e47dpsvyygbmse80etat203b6g82688crzstq5fk1v3&rid=giphy.gif&ct=g">
<img id="img1" src="https://media1.giphy.com/media/26BGDQxDCZDFHW5Ne/giphy.gif?cid=ecf05e47s1i54v7vye657pchxdgjbghxvgjoj3f6elh7y3zr&rid=giphy.gif&ct=g" alt="">
<div id="firstdiv">
<h1>Weather App</h1>
<form action="/" method="post">
<label id="lab" for="city">City Name:</label>
<input id="city" type="text" name="cityName">
<button type="submit">Go</button>
</form>
</div>
</body>
</html>