-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
113 lines (102 loc) · 4.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html class="no-js" lang="en" dir="ltr">
<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" />
<title>Travel & Park It!</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://kit.fontawesome.com/890f695f46.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./assets/style/style.css">
</head>
<body class="bg-gradient-to-r from-orange-50 to-orange-200 mx-8 container mx-auto">
<!-- Navigation -->
<header>
<div class="row flex place-content-center">
<h1 class="text-6xl text-center"> <a href="/">Travel & Park It!</a></h1>
</div>
</header>
<div class="row flex place-content-center text-center my-3">
<h2>Search for your favorite state's national parks, as well as their current weather!</h2>
</div>
<div class="row flex place-content-center mb-10">
<select name="state" id="state" class="p-3 rounded-full">
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="ID">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="MA">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virgina</option>
<option value="WA">Washington</option>
<option value="WV">West Virgina</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
<button class="searchBtn rounded-full text-white font-bold">Search</button>
<button class="seeFavesBtn rounded-full text-white font-bold">Favorites</button>
</div>
<div class="row flex justify-evenly p-5 drop-shadow-2xl">
<section class="nationalParkListContainer bg-stone-50 col-sm-12 mw-full p-5 text-center rounded-l-xl">
Search for a state to see a list of National Parks!
</section>
<section class="w-1/2 bg-stone-50 col-sm-12 mw-full p-5 display-flex justify-center rounded-r-xl">
<div class="current-park col-9">
<span hidden id="coords"></span>
<h2 class="park-name text-center font-bold text-2xl"></h2> <button class="faveBtn fa-solid fa-heart fa-lg fa-spin fa-pulse"></button>
<div class="weather-description mt-4 mb-7"></div>
<img class="park-photo mx-auto rounded-xl"></img>
<h2 class="font-bold text-center mt-4">Current Weather<h2>
<div class="text-center">Temp: <span class="temp"></span></div>
<div class="text-center">Windspeed: <span class="wind-speed"></span></div>
<div class="text-center">Humidity: <span class="humidity"></span></div>
<img src="" alt="" class="icon mx-auto" />
</div>
</div>
</section>
</div>
<!--JQUERY-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>