-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
27 lines (27 loc) · 1.11 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Local Weather</title>
<meta description content="Get your local weather using geolocation">
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Arimo:400,700">
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body id="content">
<form id="toggle">
<button type="button" id="metric" onclick="setunits('metric')">°C</button>
<button type="button" id="imperial" onclick="setunits('imperial')">°F</button>
</form>
<article>
<section id="weather">
<img alt="loading" id="spinner" src="assets/spinner.gif">
</section>
<section id="forecast">
<noscript>This application requires JavaScript to function. Please enable scripts in your browser.</noscript>
</section>
</article>
<script src="assets/weather.js"></script>
</body>
</html>