Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Chapter 6 pacific trails resort

01/12/2021 Client: muhammad11 Deadline: 2 Day

Pacific Trails Resort Case Study

In this chapter’s case study you will use the existing Pacific Trails website ( Chapter 9 ) as a starting point. You will add a new page to the Pacific Trails website—the Reservations page. Refer back to the site map for the Pacific Trails website in Chapter 2 , Figure 2.27 . The Reservations page will use the same two-column layout as the other Pacific Trails web pages. You’ll apply your new skills from this chapter and code a form in the content area of the Reservations page.

You have four tasks in this case study:

1. Create a folder for the Pacific Trails website.

2. Modify the CSS to configure style rules needed for the Reservations page.

3. Create the Reservations page: reservations.html. Your new page will be similar to Figure 10.33 when you have completed this step.

4. Configure HTML5 form control features on the Reservations page.

Task 1: Create a folder called ch10pacific to contain your Pacific Trails Resort website files. Copy the files from the Chapter 9 Case Study ch9pacific folder to your new ch10pacific folder.

Task 2: Configure the CSS. Review Figure 10.33 and the wireframe in Figure 10.34 . Notice how the text labels for the form controls are on the left side of the content area but contain right-aligned text. Notice the empty vertical space between each form control. Open pacific.css in a text editor. You will code the following styles above the media queries.

Figure 10.33 The new Pacific Trails Reservations page.

a. Configure a label element selector. Set left float, block display, right alignment for text, a width of 120 pixels, and an appropriate amount of right padding.

b. Configure the input element and textarea element selectors. Set block display and 20 pixels of bottom margin.

c. Configure the submit button with a 130px left margin.

d. Configure style rules to optimize the display on smartphone-sized mobile devices by rendering the label text above each form control and eliminating the submit button’s left margin. Add the following style rules to the media query that targets a maximum width 37.5em:

e. label { float: none;

f. text-align: left; }

input[type="submit"] { margin-left: 0; }

Save the pacific.css file.

Figure 10.34 The sketch of the form.

Task 3: Create the Reservations Page. A productivity technique is to create new pages based on existing pages so you can benefit from your previous work. Your new Reservations page will use the index.html page as a starting point. Open the index.html page for the Pacific Trails Resort website in a text editor. Select File > Save As and save the file with the new name of reservations.html in the ch10pacific folder.

Now you are ready to edit the reservations.html file.

1. Modify the page title. Change the text contained between the and tags to: Pacific Trails Resort :: Reservations.

2. The reservations page will not feature a large image. Remove the div element assigned to the homehero id.

3. Replace the text contained within the

tags with: Reservations at Pacific Trails.

4. Delete the paragraph and the unordered list. Do not delete the logo, navigation, contact information, or footer areas of the page.

5. Position your cursor on a blank line below the h2 element. Configure an h3 element with the following text: Contact Us Today!

6. Position your cursor on a blank line under the h3 element. You are ready to configure the form. Begin with a

tag that uses the post method and the action attribute to invoke server-side processing. Unless directed otherwise by your instructor, use http://webdevbasics.net/scripts/pacific.php as the value of the action attribute.

7. Configure the form control for the First Name information. Create a

8. In a similar way, configure form controls and label elements to collect the following information: Last Name, E-mail Address, and Phone Number. Use myLName, myEmail, and myPhone as the id and name values for the last name, e-mail, and phone form controls. Also set the size of the e-mail text box to 35 and the maxlength of the phone text box to 12.

9. Configure the Comments area on the form. Create a label element that contains the text “Comments:”. Create a textarea element configured with “myComments” as the value of the id and name attributes, rows set to 2, and cols set to 30. Use the for attribute to associate the label element with the form control.

10. Configure the submit button on the form (code an input element with type="submit" and value="Submit"

).

11. Code an ending

tag on a blank line after the submit button.

Save your reservations.html page and test it in a browser. It should look similar to the page shown in Figure 10.33 . If you are connected to the Internet, submit the form. This will send your form information to the server-side script configured in the

tag. A confirmation page similar to Figure 10.35 will be displayed that lists the form control names and the values you entered.

Figure 10.35 The form confirmation page.

Task 4: Configure the Form with HTML5 Attributes and Values. Get more practice with the new HTML5 elements by modifying the form on the Reservations page to use HTML5 attributes and values. You’ll also improve the form by adding form controls to accept the date and number of nights. Modify the reservations.html file in a text editor.

1. Add a paragraph above the form to indicate: Required fields are marked with an asterisk *.

2. Use the required attribute to require the first name, last name, e-mail, and comments form controls to be entered. Add an asterisk at the beginning of each label text.

3. Configure the input element for the e-mail address (use type="email"

).

4. Configure the input element for the phone number (use type="tel"

).

5. Code a label element containing the text “Arrival Date” that is associated with a calendar form control to accept a reservation arrival date (use type="date").

6. Code a label element containing the text “Nights” that is associated with a spinner form control to accept a value between 1 and 14 to indicate the number of nights for the length of stay (use type="number"). Use the min and max attributes to configure the range of values.

Save your file. Display your web page in browser. Submit the form with missing information or only a partial e-mail address. Depending on the browser’s level of HTML5 support, the browser may perform form validation and display an error message. Figure 10.36 shows the Reservations page rendered in the Firefox browser with an incorrectly formatted e-mail address.

Figure 10.36 HTML5 attributes and values are coded in the form.
Task 4 in this case study provided you with additional practice using new HTML5 attributes and values. The display and functioning of browsers will depend on the level of HTML5 support. See http://www.standardista.com/html5/html5-web-forms for an HTML5 browser support list.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Top Essay Tutor
Solution Provider
Helping Hand
University Coursework Help
Professional Coursework Help
Maths Master
Writer Writer Name Offer Chat
Top Essay Tutor

ONLINE

Top Essay Tutor

After reading your project details, I feel myself as the best option for you to fulfill this project with 100 percent perfection.

$37 Chat With Writer
Solution Provider

ONLINE

Solution Provider

I am a PhD writer with 10 years of experience. I will be delivering high-quality, plagiarism-free work to you in the minimum amount of time. Waiting for your message.

$24 Chat With Writer
Helping Hand

ONLINE

Helping Hand

This project is my strength and I can fulfill your requirements properly within your given deadline. I always give plagiarism-free work to my clients at very competitive prices.

$23 Chat With Writer
University Coursework Help

ONLINE

University Coursework Help

I have written research reports, assignments, thesis, research proposals, and dissertations for different level students and on different subjects.

$43 Chat With Writer
Professional Coursework Help

ONLINE

Professional Coursework Help

I can assist you in plagiarism free writing as I have already done several related projects of writing. I have a master qualification with 5 years’ experience in; Essay Writing, Case Study Writing, Report Writing.

$49 Chat With Writer
Maths Master

ONLINE

Maths Master

I have read your project description carefully and you will get plagiarism free writing according to your requirements. Thank You

$34 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Cross cultural adaptation theory strengths and weaknesses - Review Writing Assignment Peer Review - The number of employees in hcl enterprise is about - Federal safeguards for financial reporting abuse - Scripting Dialogues - Paolo uccello the battle of san romano c 1438 40 - Section 10aa of the sentencing act 1991 - Frimley park hospital number - Example of article critique using apa format - When i heard the learn d astronomer meaning - Assignment OM - Questions to ask cultural interview - Telecommuting pros and cons essay - William joyce author illustrator - 2 Questions each on in separate document - Sex without love poem analysis - Responsorial psalm wedding i have loved you - Digital wwnorton com givemeliberty5sv2 - How to find half equivalence point - Direct financing lease vs sales type - How to fill in a probability distribution table - 5 skill related fitness components - 1050 hours to days - Epic similes in the odyssey - Dermacos anti aging serum - 55 bayport circuit mindarie - N ai the story of a kung woman - Comptia security+ guide to network security fundamentals free pdf - Gallery attendant job description - A 10 year bond pays an annual coupon - Feeding the 5000 powerpoint - Research your present or past company’s view on corporate social responsibility. If you do not currently work for a company, pick a company that supports corporate social responsibility. Are there programs or initiatives in place to contribute to the community in some way? Review and describe these programs, and comment on their effectiveness to the community and organization, the employees, and the company. - Lab 2 separation of a mixture chemistry 1 answers - Organ pipes national park dogs - Discussion / Read chapters 1,2,3 / about 300 words / answer and comment / need within 6 hours - 160 mm to cm - 250 words/ two scholarly sources due TODAY! - Social work cover letter - 2jzgte stock intake manifold - Review on language acquisition structure and function - Bi2 - Arnold palmer axiom golf clubs review - Aia vitality physical activity points - How to write a museum visit paper - Ge - Scientific advances in supporting wellness - I need 2500 words on an essay How Significant Was The Emergence Of Youth Culture In Post War Britain - How to do a webliography - Bruce stevenson toyota launceston - Solving algebraic equations games - A_P_Due_asap - Value Creation in Organizations – Managing Operations and Marketing - Romantic transcendental conservation ethic - Sed regex cheat sheet - Distinctive competencies of under armour - Frederick douglass my escape from slavery - Katoomba waste management facility - Module 1 assignment 1 leadership self assessment - List the factors of 29 - Dollars & sense finance ltd v nathan - What college rankings really tell us malcolm gladwell summary - Case 3 walmart manages ethics and compliance challenges answers - Research Paper - Indian education sherman alexie rhetorical analysis - Formulate PICOT question - Blessed be your name in g - All shook up how rock n roll changed america essay - Bandwidth of fm signal equation - Pediatrics - Downriver heart & vascular hashem mustafa a mddownriver heart & vascular hashem mustafa a md - Professor peter kistler cabrini - I need 7 to 8 pages of literature review with double space - 5 major perspectives in psychology - Capacity cushion formula operations management - New heritage doll company npv - Film segmentation example - Color blind or color brave summary - Educational prenuptials to consider before co teaching - Islam Discussion - International business peng meyer pdf - Operational risk management quotes - The fugitive phone call - Just answer homework - Did ted bundy pass a polygraph test - One implication of today's flatter corporate structures is that: - Thirty days has september april june and november - Pediatric nursing Essay (NO PLAGIARISM) - Spark plug catalogue pdf - Impressions of feminism past and present - Cih equality and diversity charter - Political power in hamlet - Hls js error networkerror fatal true levelloaderror - Isbn 978 1 259 91244 3 - Armstrong pump installation manual - Absolutely Zero PLAGIARISM - Genogram rules - Northwind database questions and answers pdf - Art labeling activity the structure of the epidermis - Rafaela who drinks coconut and papaya juice on tuesdays questions - Capella project management