-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (33 loc) · 980 Bytes
/
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>ES6 Weather App</title>
<script src="https://google.github.io/traceur-compiler/bin/traceur.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.31/system.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Weather App</h1>
</header>
<div class="main">
<div id="search">
<label for="city">City Name</label>
<input type="text" id="city">
<button type="button">Show Weather!</button>
</div>
<div id="load">Loading...</div>
<div id="weather">
<h1 id="weatherCity">City Name</h1>
<div id="weatherDescription">Weather Description</div>
<div id="weatherHumidity">Weather Humidity</div>
<div class="humidity">% humidity</div>
<div id="weatherTemperature">Temperature</div>
</div>
</div>
<script>
System.import('app.js');
</script>
</body>
</html>