-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (77 loc) · 2.54 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
<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">
<link rel="stylesheet" href="css/styles.css">
<link rel="shortcut icon" type="" href="">
<title>Weather App - JS</title>
</head>
<body>
<!--Add a light and dark button-->
<!--Background-->
<ul class="background">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<!--Main Container-->
<div class="container">
<div class="search-container">
<input type="text" id="searchBar" placeholder="Enter a city name...">
<button id="searchBtn"><svg stroke="currentColor" fill="currentColor" stroke-width="0"
viewBox="0 0 24 24" height="1.5rem" width="1.5em" xmlns="http://www.w3.org/2000/svg"><g>
<path fill="none" d="M0 0h24v24H0z"></path>
<path d="M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9-9-4.032-9-9 4.032-9 9-9zm0 16c3.867 0 7-3.133 7-7 0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7zm8.485.071l2.829 2.828-1.415 1.415-2.828-2.829 1.414-1.414z">
</path></g></svg>
</button>
</div>
<!--Weather Container-->
<div class="weather-box">
<h1 id="location">Weather App</h1>
<img src="" alt="" id="weather-icon">
<!--Display Options-->
<div id="temp"></div>
<div id="weatherDesc"></div>
<div id="left-container">
<div id="feels"></div>
</div>
<div id="feels"></div>
<div id="humidity"></div>
<div id="winds"></div>
</div>
</div>
<!--Footer-->
<footer id="footer">
<h2 class="footer-text">Made by Enrique Jimenez</h2>
</footer>
<!--JavaScript-->
<script src="./js/weather.js"></script>
</body>
</html>