forked from Ada-C18/weather-report
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
76 lines (73 loc) · 3.03 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
70
71
72
73
74
75
76
<!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" type="text/css" href="/styles/index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rokkitt:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<title>Weather Report</title>
</head>
<body class="coolTheme">
<header>
<div id="column" class="flex-box-container">
<div class="background-block"></div>
<div class="text-in-front">
<label for="sky">Choose your sky:
<select id="sky" name="sky">
<option value="sunny" class="background">Sunny</option>
<option value="cloudy" class="background">Cloudy</option>
<option value="rainy" class="background">Rainy</option>
<option value="snowy" class="background">Snowy</option>
</select>
</label>
<h1>Weather Report</h1>
<h2 id="now-showing" onLoaded="nowShowingTemp()"></h2>
</div>
</div>
</header>
<section>
<div class="misc-heading-container">
<div class="text-in-front"><h2>Find A Temperature By City</h2></div>
</div>
<div id="row" class="flex-box-container">
<section id="city-name" class="text-in-front">
<h3>Search by City</h3>
<div id="topnav">
<input type="text" id="defaultCity" placeholder="Portland, OR"
autocomplete="off" onKeyUp="updateCityWhileTyping()">
<br>
<br>
<button id="realTime">Get Realtime Temp</button>
<button id="reset" type="reset">Reset</button>
</div>
<br>
</section>
<section id="temp" class="text-in-front">
<h3>Temperature</h3>
<div id="wrapper">
<button id="increaseBtn"><span>+</span></button>
<span id="tempTag">45</span>
<span id="tempUnits">° F</span>
<button id="decreaseBtn"><span>−</span></button>
<br>
<br>
</div>
</section>
<section id="garden" class="text-in-front">
<h3>Your Weather Emojis</h3>
<div id="curWeatherEmojis">🧤🧣🧤</div>
</section>
</div>
</section>
<footer>
<div class="misc-heading-container">
<h3>© 2022 | Alaere & Anika | C18 Snow Leopards</h3>
</div>
</footer>
<script src="./node_modules/axios/dist/axios.min.js"></script>
<script src="src/index.js"></script>
</body>
</html>