-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (57 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>What's the weather, yo?</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="styles/style.css" rel="stylesheet">
<script src="scripts/script.js" defer></script>
</head>
<body>
<!-- 1 -->
<div class="search-form">
<div class="header">
<h3>What the cat doin</h3>
</div>
<form action="#" id="searchForm">
<label for="">Search City : </label>
<input type="name" name="city" value="" id="cityName" placeholder="city" required>
</form>
<div class="header">
<h3>What's the weather?</h3>
</div>
</div>
<!-- 2 -->
<div class="weather-container">
<div>
<div class="loading">
Loading...
</div>
<div class="container">
<div>
<h1 id="city">City</h1>
</div>
<div>
<h3 id="desc">Desc</h3>
</div>
<div class="temps">
<h2 id="temp">Temperature</h2>
<div class="divide">
<p>Feels like: <span id="feelslike"></span></p>
<p>Today's high: <span id="todayshigh"></span></p>
<p>Humidity: <span id="humidity"></span></p>
</div>
</div>
</div>
</div>
<hr>
<div>
<img alt="weather illustration" id="weatherImg">
</div>
</div>
<!-- 3 -->
<div class="footer">
<h1>©2022 Copyright.</h1>
</div>
</body>
</html>