forked from ada-c17/weather-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (55 loc) · 2.83 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
<!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="styles/index.css">
<title>Tyrah's Weather Report</title>
</head>
<body>
<div class="container">
<div class="temperature">
<h1>Temperature</h1>
<button id="upArrow"><img src='photos/up-arrow.png' alt='Up arrow button'></button>
<h2 id="currentTemp">0</h2>
<button id="downArrow"><img src='photos/down-arrow.png' alt='down arrow button'></button>
</div>
<div class="sky">
<label for="sky-selector">Sky Selector</label>
<select name="sky-selector" id="sky-selector">
<option value="sunny" id="sunny">Sunny</option>
<option value="rainy" id="rainy">Rainy</option>
<option value="snowy" id="snowy">Snowy</option>
<option value="cloudy" id="cloudy">Cloudy</option>
</select>
</div>
<div id="skyContainer">
<div id="sunemoji">☁️ ☁️ ☁️ ☀️ ☁️ ☁️</div>
<div id="rainemoji">🌧🌈⛈🌧🌧💧⛈🌧🌦🌧💧🌧🌧</div>
<div id="cloudemoji">☁️☁️ ☁️ ☁️☁️ ☁️ 🌤 ☁️ ☁️☁️</div>
<div id="snowemoji">🌨❄️🌨🌨❄️❄️🌨❄️🌨❄️❄️🌨🌨</div>
</div>
<div class="landscape">
<h1>Weather Garden</h1>
<div class="weather">
<div id="hot">🌵__🐍_🦂_🌵🌵__🐍_🏜_🦂</div>
<div id="warm">🌸🌿🌼__🌷🌻🌿_☘️🌱_🌻🌷</div>
<div id="windy">🌾🌾_🍃_🪨__🛤_🌾🌾🌾_🍃</div>
<div id="cold">🌲🌲⛄️🌲⛄️🍂🌲🍁🌲🌲⛄️🍂🌲</div>
</div>
</div>
<div class="city">
<form action="#">
<input class='textBox'type='search' placeholder="Search a City" name="q">
<button type="button"><img src='photos/search_icon.png' alt='search button' class="searchIcon"></button>
</form>
<h1 class="cityDisplay">Select a City</h1>
<button type="reset"><img src='photos/refresh.png' alt='refresh all button' class="refreshBtn"></button>
</div>
</div>
<script src="./node_modules/axios/dist/axios.min.js"></script>
<script src="https://requirejs.org/docs/release/2.3.5/minified/require.js"></script>
<script src="src/index.js" type="text/javascript"></script>
</body>
</html>