-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (59 loc) · 2.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Road Trip Forecast Planner</title>
<meta name="description" content="">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header>
<h1>US Road Trip Forecast / Planner</h1>
</header>
<main>
<section class="start flex column">
<p>On the next page you will be able to add stops to a road trip/ vacation itinerary. The main utility of this app is to see a forecast across multiple cities and date ranges in a single view, instead of needing to check multiple extended forecasts for each city one by one.</p>
<p>Multiple road trip stops with varying stay durations can be added to the itinerary, with the ability to delete indivudual stops, or clear the entire itinerary.</p>
<p>After the forecasts are displayed, users can click back to the itinerary to make further edits.</p>
<p>This app was created with HTML, CSS, Javascript, and JQUERY</p>
<p>APIs used:</p>
<ul>
<li>Open Cage for the location input to coordinates conversion</li>
<li>CimaCell which uses corrdinates for weather forecasts</li>
</ul>
<button class= "nav-button" id="js-start">Create New Itinerary</button>
<img src="assets/preview-setup.jpg" alt="preview of itinerary set-up screen">
</section>
<section class="setup hide flex column">
<h2>Add a Stop</h2>
<form>
<h3>Location</h3>
<label><input type="text" id="js-city" placeholder="City, State">
</label><br>
<h3>Arrive / Depart</h3>
<label><input type="date" id="js-arr-date" required>
</label>
<label><input type="date" id="js-dep-date" required>
</label><br>
<input class="js-submit" type="submit" value="add to itinerary">
</form>
<button class="reset" id="js-reset" type="reset">clear all</button>
<h2 class="js-intinerary-title blur">Itinerary</h2>
<div class="js-itinerary flex column">
</div>
<button class="js-fetch nav-button hide">Get forecasts</button>
</section>
<section class="forecast flex column hide">
<button class="nav-button" id="js-back">Edit Itinerary</button>
<h2>Forecast</h2>
<p><a class="attribution" href="http://www.climacell.co/weather-api">(Powered by ClimaCell)</a></p>
<div class="js-results hide">
</div>
</section>
</main>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>