-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (74 loc) · 3.73 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
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Weather App</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/480f36d300.js" crossorigin="anonymous"></script>
</head>
<body>
<section>
<main>
<div class="container">
<h1><i class="fas fa-arrow-left"></i>Weather App</h1>
<hr>
<div class="subContainer">
<p class="addError"></p>
<input type="text" placeholder="Enter City Name" class="txt" spellcheck="true" required>
<button>Submit</button>
</div>
<div class="weatherInfo displayInfo">
<img src="" alt="weather icon">
<div class="temp">
<span class="num"></span><span class="deg">°</span>C
</div>
<div class="weather"></div>
<div class="location">
<i class="fas fa-map-marker-alt"></i>
<span class="area"></span>
</div>
<div class="bottom-details">
<div class="column feels">
<i class="fas fa-thermometer-half"></i>
<div class="details">
<div class="temp">
<span class="num2">_</span>
<span class="deg">°</span>C
</div>
<p>Feels like</p>
</div>
</div>
<div class="column humidity">
<i class="fas fa-tint"></i>
<div class="details">
<span>_</span>
<p>Humidity</p>
</div>
</div>
</div>
</div>
</div>
<!-- ------------------------------------------------- -->
<div class="color-palette">
<span class="colorBtn" color="rgba(230,25,77)" style="background-color:rgb(230,25,77)"></span>
<span class="colorBtn" color="rgba(93,230,25)" style="background-color:rgb(93,230,25)"></span>
<span class="colorBtn" color="rgba(25,161,230)" style="background-color:rgb(25,161,230)"></span>
<span class="colorBtn" color="rgba(230,114,25)" style="background-color:rgb(230,114,25)"></span>
<span class="colorBtn" color="rgba(65,97,216)" style="background-color:rgb(65,97,216)"></span>
<span class="colorBtn" color="rgba(243,183,18)" style="background-color:rgb(243,183,18)"></span>
<span class="colorBtn" color="rgba(196,77,255)" style="background-color:rgb(196,77,255)"></span>
<span class="colorBtn" color="rgba(0,128,0)" style="background-color:rgb(0,128,0)"></span>
<span class="colorBtn" color="rgba(0,128,128)" style="background-color:rgb(0,128,128)"></span>
<span class="colorBtn" color="rgba(113, 47, 73)" style="background-color:rgb(163, 111, 132)"></span>
</div>
<section class="copyright">
<p>
Made with ❤️ by <a href="https://github.com/Aman00097" target="_blank">Aman Mourya</a>
</p>
</section>
</main>
</section>
<script src="script.js"></script>
</body>
</html>