-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
35 lines (30 loc) · 1.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather Underground API</title>
<link rel="stylesheet" href="wu.css">
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="wu.js"></script>
</head>
<body>
<h1>wunderground api</h1>
<p>enter a 5-digit US zip code</p>
<form class="wuInput" onsubmit="return false;">
<input type="text" placeholder="e.g., 10011" name="zipInput" size="20" maxlength="5" pattern=".{5,5}" required>
<input type="submit" value="submit">
</form>
<div class="results"></div>
<script>
var copyrightyear = new Date().getFullYear();
document.getElementById("copyrightyear").textContent = copyrightyear;
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54095839-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>