TREK is an application that displays information on travel packages and allows users to reserve spots on a specific trip.
This is a stage 2 individual project.
- Reading data from an API using AJAX
- Posting data to an API using AJAX
- Building dynamic elements on a page with jQuery
You will build a web app that will query data from an api, using AJAX, to display a list of trips and view more information on a specific trip. While viewing a specific trip, you can claim your spot by sending data back to the API.
All of this should be done without ever having to reload the page. In other words, TREK will be a single page application and will only need one html page (index.html).
View the Travel API's documentation.
- Wave 1: Click button or link to show all trips
- Wave 2: Can click on a trip, from the list of trips, to see more information about that trip
- Should be able to see id, name, destination, continent, about, category, weeks and cost
- Wave 3: While viewing a single trip, you can reserve a spot
- Use a form to submit your name to reserve a spot on the trip you are viewing.
- For All Waves
- Any errors encountered while interacting with the API shall be politely reported to the user.
- You shall use HTML best-practices. Use semantic HTML tags to group and organize your HTML appropriately.
- Site should be attractively styled, using Foundation for a responsive grid layout
- For more practice working with data, filter trips by search queries (like by continent, budget, etc.). You'll need to explore the API to see what functionality exists.
- To practice a more advanced POST, allow the user to create a new trip.
- For more jQuery practice, use jQuery to sort list of trips by specific attributes, like budget or time remaining.