-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (68 loc) · 2.08 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>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<div class="container">
<div class="search-box">
<input type="text" name="search" id="search" placeholder="Enter city" />
<button type="button" ><i class="fa-solid fa-magnifying-glass"></i></button>
</div>
<div class="weather-box">
<div class="box">
<div class="info-weather">
<div class="weather">
<img src="./images/mist.png" alt="" />
<p class="temperature">
0 <span><sup>0</sup>C</span>
</p>
<p class="description">Sunny</p>
</div>
</div>
</div>
</div>
<div class="temperature-units">
<label>
<input type="radio" id="celsius" name="units" value="celsius" checked>
Celsius
</label>
<label>
<input type="radio" id="fahrenheit" name="units" value="fahrenheit">
Fahrenheit
</label>
</div>
<div class="weather-details">
<div class="humidity">
<i class="fa-solid fa-water"></i>
<div class="text">
<div class="info-humidity">
<span>0%</span>
</div>
<p>humidity</p>
</div>
</div>
<div class="wind">
<i class="fa-solid fa-wind"></i>
<div class="text">
<div class="info-wind">
<span>0 kmph</span>
</div>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>