-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (57 loc) · 2.01 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
<!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" />
<link rel="stylesheet" href="style.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VE5M5XMXJD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-VE5M5XMXJD');
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Weather App - Vanilla JS</title>
</head>
<body>
<div class="app-wrap">
<h2 style="text-align: center; color: rgba(255,255,255,0.8);">Search for any city or region of your choice...!
</h2>
<header>
<div id="error-message"></div>
<br>
<input type="text" class="search-box" autocomplete="on" placeholder="Search for a city/region..." />
<div class="button-div">
<button class="button" id="search-btn">Search</button>
<button class="button" id="clear-btn">Clear</button>
</div>
</header>
<main>
<section class="location">
<div class="city"></div>
<div class="coords" ></div>
<div class="date"></div>
</section>
<div class="current">
<div class="temp"></div>
<div class="feels-like"></div>
<div class="weather"></div>
<div class="hi-low"></div>
<div class="hi-low" id="wind-speed" ></div>
</div>
<br>
<footer>Made with 💙 in Vanilla Javascript</footer>
<br>
<a href="https://github.com/jainam03/weather-app-VanillaJS" target="_blank"
style="color: rgba(255, 255, 255, 0.8);">
<i class="fa fa-github fa-2x"></i>
</a>
</main>
</div>
<script type="text/javascript" src="./config.js"></script>
<script type="text/javascript" src="./script.js"></script>
</body>
</html>