Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The page will simulate the site for a Chicago-based small bus line that travels

ID: 3813029 • Letter: T

Question

The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit.

Here are the requirements:

The home page (i.e. the main page) should simply be the heading, image, and slogan of the site.  The home page should NOT be the one that has the reservations form.  It is simply the ‘main’ page for your business’ website.  Add a little blurb / slogan about your bus line.

The header section should be styled (you decide which styles to apply).

Name this page:  busline_home.htm

·       Have a navigation section that includes links to all of the other pages on your site:   Make a Reservation,   Contact Us,    Join Our Mailing List,    Home.  This section should have either a background color or a border (or both if you prefer). Feel free to add other styles if you like. This table of contents must appear on all pages. Place this table of contents inside a div tag called ‘nav’. Style this ‘nav’ section as a contextual selector inside your external sheet.

·       The reservations page, is described below.

·       Have a page called ‘Contact Us’  that includes a (fake) address, phone number, e-mail address, etc of your company.

·       Have a page called ‘Join Mailing List’ that has a form requesting the user’s name and e-mail address.  When the user submits the form, they should see a confirmation message thanking them for joining the mailing list and confirming that they have joined the list.  (Obviously you do not have to write the code that actually joins them in a real mailing list!)

·       ALL of the pages should have a similar look.  For example, if you change the background color, it should be the same on all pages.  Use an External Stylesheet to accomplish this task.  (You may still use embedded styles to alter something on a given page–remember the rules for priority of styles—but  any styles meant to apply to all pages need to be written in an external sheet).

·       In addition to the External Style Sheet, you must use External Javascript Files for all pages using Javascript.

·       ALL pages should have the company name somewhere on the page.  Place this name in within your ‘header’ section. Style this section as a contextual selector in your external style sheet.

·       Have a ‘footer’ section in which you have the phone number and address of your company at the bottom of each page on your site. Style inside your external stylesheet. Use a different font, make the text size a little bit smaller than the rest of your page, and italicize.

The Reservations Page:

The form:

The last name as a textbox

The first name as a textbox

Arrival City:  Use a radio button.  Choices should be:  St Louis ($40), Milwaukee ($20), Detroit ($35)

Hotel choice: Radio button – Economy ($50/day), Standard ($70/day), Upscale ($120/day)

Number of travelers: select box with 1 through 6

Number of days as a select box with options from 2 through 7

Have checkboxes for the following options: Wifi ($10), Fully-reclining seat ($20)

Radio button for meal choice:  None, Snack ($5), Full meal ($10)

Have a text area for “Special Requests”.

A button to submit the form. The button should say ‘Book My Trip’

Name your form: reservation

When the user submits their form, you should provide a cost estimate for their trip.  Use the following business rules to make the estimate:

Note: Be careful about your calculations! For example, the cost of the meals, wifi, etc should be multiplied by the number of travellers. However, the hotel cost should not be. (You can assume that everybody stays in the same room!)

Sample fare: 2 people traveling to Minneapolis ($20x2), request wifi ($10x2), and reclining seats ($20x2), with full meals ($10x2).  They wish to stay at an economy hotel for 5 days ($50 * 5) will have a total cost of $370.

You can output your cost estimate using an alert box.

General Requirements:

Every page must make use of your external style sheet (e.g. to style the company name).  You may dispense with embedded styles if your external stylesheets contain all necessary classes and contextual selectors, etc. However, you’ll probably find that you need to include embedded and or inline styles for at least some of your pages.

·       Create at least one class and make use of it on your home page. The class should be defined in the external sheet.

·       All pages and related files such as images and style sheets must also be uploaded to the web server.

·       To submit the assignment, submit the URL to the main initial (Home) page of your travel site.

·       As usual, paste the link to the Home page URL on D2L.

Grading Scheme:

Home page and Contact Us page: 10 points

·       Presence of navigation section and footer section on all pages, styled in the external stylesheet: 10 points

·       Mailing List page with proper response: 5 points

·       Reservations page itself (not including Javascript):  10 points

·       Response to reservations page with accurate calculations, i.e. Javascript:  40 points

·       Proper fulfillment of all CSS requirements:  15 points

·       General aesthetic to the look and formatting of your pages:  10 points

Explanation / Answer

Note:- "the Question is too long to answer in 2 hours so including the maximum code that can be done in time limit."

index.htm:-

<html>
<head>
<link rel = "stylesheet" type = "text/css" href="externalcss.css" />
</head>
<body>
<div id="page">
<div id="header">
<h2><a href="http://moss.ger.ith.intel.com/sites/MWG-IS/Pages/Default.aspx" border=0>XYZ bus Services</a></h2>
<br>
<h1>we provide the best</h1>
<div id="navigation">
<a href="index.htm">Home</a>
<a href="make_reservation.htm">Make a Reservation</a>
<a href="contact.htm">Contact us</a>
<a href="maillist.htm">Join our mailing list</a>
</div>
</div>
<div id="main"></div>
<div id="footer">
<i> Address:-A fave address is here to appe arin the area to fill<br>
Phone numbers:-021-3256XXX,+92-123654XXXX,+99-232345XXXX</i>
</div>
</div>
</body>
</html>

------------------------------------------------------------------------------------------------------------------------------------------------------

Make a reservation page:-

<html>
<head>
<link rel = "stylesheet" type = "text/css" href="externalcss.css" />
</head>
<body>
<div id="page">
<div id="header">
<h2><a href="http://moss.ger.ith.intel.com/sites/MWG-IS/Pages/Default.aspx" border=0>XYZ bus Services</a></h2>
<br>
<h1>we provide the best</h1>
<div id="navigation">
<a href="index.htm">Home</a>
<a href="make_reservation.htm">Make a Reservation</a>
<a href="contact.htm">Contact us</a>
<a href="maillist.htm">Join our mailing list</a>
</div>
</div>
<div id="main">
<form name="nitin">
<u>First name:</u><input type="text" name="firstname" value=""><br><br>
<u>Last name:</u><input type="text" name="lastname" value=""><br><br>
<u>Arrival city:</u><br>
<input type="radio" name="arrival" value="40"> St Louis ($40)<br>
<input type="radio" name="arrival" value="20" > Milwaukee ($20)<br>
<input type="radio" name="arrival" value="35"> Detroit ($35)<br><br>
<u>Hotel Choice:</u><br>
<input type="radio" name="hotel" value="50" > Economy ($50/day)<br>
<input type="radio" name="hotel" value="70"> Standard ($70/day)<br>
<input type="radio" name="hotel" value="120"> Upscale ($120/day)<br><br>
<u>Number of travelers:</u>
<select name="travelers">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<br><br>
<u>Number of days:</u>
<select name="days">
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
<br><br>
<u>Facilities:</u>
<input type="checkbox" name="wifi" value="10">Wifi ($10)
<input type="checkbox" name="fully" value="20">Fully-reclining seat ($20)<br><br>
<u>meal choice:</u><br>
<input type="radio" name="meal" value="0" > None<br>
<input type="radio" name="meal" value="5"> Snack ($5)<br>
<input type="radio" name="meal" value="10"> Full meal ($10)<br><br>
<u>Special Requests:</u><br>
<textarea rows="4" cols="50"></textarea>
<br><br>
<input type="button" value="Book My Trip">
</form>
</div>
<div id="footer"></div>
</div>
</body>
</html>

------------------------------------------------------------------------------------------------------------------------------------------------------

Contact us page:-

<html>
<head>
<link rel = "stylesheet" type = "text/css" href="externalcss.css" />
</head>
<body>
<div id="page">
<div id="header">
<h2><a href="http://moss.ger.ith.intel.com/sites/MWG-IS/Pages/Default.aspx" border=0>XYZ bus Services</a></h2>
<br>
<h1>we provide the best</h1>
<div id="navigation">
<a href="index.htm">Home</a>
<a href="make_reservation.htm">Make a Reservation</a>
<a href="contact.htm">Contact us</a>
<a href="maillist.htm">Join our mailing list</a>
</div>
</div>
<div id="main"></div>
<div id="footer">
<i> Address:-A fave address is here to appe arin the area to fill<br>
Phone numbers:-021-3256XXX,+92-123654XXXX,+99-232345XXXX</i>
</div>
</div>
</body>
</html>

------------------------------------------------------------------------------------------------------------------------------------------------------

join out mailing list page:-

<html>
<head>
<link rel = "stylesheet" type = "text/css" href="externalcss.css" />
</head>
<body>
<div id="page">
<div id="header">
<h2><a href="http://moss.ger.ith.intel.com/sites/MWG-IS/Pages/Default.aspx" border=0>XYZ bus Services</a></h2>
<br>
<h1>we provide the best</h1>
<div id="navigation">
<a href="index.htm">Home</a>
<a href="make_reservation.htm">Make a Reservation</a>
<a href="contact.htm">Contact us</a>
<a href="maillist.htm">Join our mailing list</a>
</div>
</div>
<div id="main">
<form action="/action_page.php">
user’s name:<input type="text" name="firstname" value=""><br><br>
e-mail:<input type="text" name="firstname" value=""><br><br>
<input type="submit" value="Submit">
</form>
</div>
<div id="footer"></div>
</div>
</body>
</html>

------------------------------------------------------------------------------------------------------------------------------------------------------

external css:-

html, body {
padding:0;
margin:0;
height:100%;
}
#page {
min-height:100%;
position:relative;
height:100%;
}
#header {
background-color:#115EA2;
height:100px;
  
}
#main {
width:1300px;
margin-left:auto;
margin-right:auto;
background-color:#F1F2F3;
min-height:100%;
height:auto;
height:100%;
margin:0 auto -50px;
vertical-align:bottom;
padding-top: 50px;
padding-left: 30px;
}
#footer {
position:fixed;
width:100%;
bottom:0;
height:35px;
background-color: #115EA2;
}
#header img {
float:left;
display:inline;
}
#header h2 {
text-align:center;
font-size:44px;
color:#FFFFFF;
left:0px;
top:20px;
font-weight:bold;
font-family: Sans-serif;
float:left;
margin-top:20px;
margin-left:20px;
text-decoration:none;
}
#header h2, a, a:visited, a:hover, a:active {
color: #FFFFFF;
text-decoration: none;
}
#header h1 {
text-align:center;
font-size:20px;
color:#FFFFFF;
font-weight:bold;
font-family: Sans-serif;
margin-top:50px;
float: left;
}

#navigation {
  
position: absolute;
top: 100px;
left: 0;
right: 0;
bottom: 0;
min-width: 800px;
text-align: left;
height: 20px;
padding: 10px 20px;

}
#navigation a {
font-size:14px;
padding-left:15px;
padding-right:15px;
color:black;
text-decoration:none;
}
#navigation a:hover {
color:blue;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote