Internet Programming-The Trips Log app

Build the Trips Log app
For this project, you will build a data-driven web app that uses view models to pass data from controllers
to views, the ViewBag object to pass data from views to the layout, and TempData to persist data
between requests.
Specifications
 When the app starts, it should display trip data and an Add Trip link.
 The layout for this web app should display a banner at the top of the page, and a subhead below it.
However, the subhead should only display if there’s text in the ViewData property for it.
 When the user clicks the Add Trip link, a three page data entry process should start.
 On the first page, the user should enter data about the trip destination and dates. The
Accommodations field on this page should be optional, and the rest should be required.
 The second page should only display if the user entered a value for the Accommodations field on the
first page. On this page, the user should enter data about the accommodations. The accommodation
value the user entered should display in the subhead, and the fields should be optional.
 On the third page, the user should enter data about things to do on their trip. The destination the user
entered on the first page should display in the subhead, and the fields should be optional.
 When the user clicks the Next button on the first or second page, the web app should save the data
posted from the page in TempData. Use this data to get the user entries to display in the subheads as
needed.
 When the user clicks the Save button on the third page, the user will see the Home page displaying
with a temporary message that the trip has been added with the details of the trip listed below.
 When the user clicks the Cancel button on any of the Add pages, the data in TempData should be
cleared and the Home page should display. You can use this statement to clear the data:
TempData.Clear();