forked from joinpursuit/9-3-weather-app-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (60 loc) · 2.41 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
<!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="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@200;400;700;900&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
<script type="module" defer src="main.js"></script>
<title>Weather App Project</title>
</head>
<body>
<div class="weather_app_container">
<header>
<div>
<h1>Weather App</h1>
</div>
<div>
<form id="weather_form">
<label for="weather_submit">Pick a location: </label>
<input type="text" id="weather_submit" name="weather_submit" autocomplete="off" />
<input type="submit" form="weather_form" value="Submit" />
</form>
</div>
</header>
<div id="main_content_container" class="temp_widget_off">
<aside id="weather_temp_widget" class="hidden">
<form id="temp_form">
<label for="temperature_convertion"><strong>Convert the Temperature</strong></label>
<input type="number" name="temperature_convertion" id="temp-to-convert" />
<br />
<label for="convert_temp_to_celcius">To Celcius</label>
<input type="radio" name="convert_temperature" id="to-c" value="c" />
<br />
<label for="convert_temp_to_fahrenheit">To Fahrenheit</label>
<input type="radio" name="convert_temperature" id="to-f" value="f" />
<br />
<input type="submit" form="temp_form" value="Submit" />
</form>
<h4></h4>
</aside>
<main id="main_article">
<p class="remove">Choose a location to view the weather</p>
<article id="weather_current" class="weather weather_article hidden"></article>
<aside id="weather_upcoming" class="weather"></aside>
</main>
<aside id="search_aside">
<section id="search_section">
<h4>Previous Searches</h4>
<ul>
<p class="remove">No previous searches.</p>
</ul>
</section>
</aside>
</div>
</div>
</body>
</html>