Solved by Expert Tutors
Solved by Expert Tutors
Question

File attached to be solved, thanks

Lab 13 - Tip calculator This page lets you calculate a tip amount and total bill to pay. Enter your restaurant bill amount and the percentage you want to tip. The report will show both the amount to tip and the total cost of the bill + tip. Tip Calculator Bill: Tip percent: Calculate Tip and Total reset
Background image of page 1
IT581: P RACTICUM IN W EB D EVELOPMENT , S UMMER 2015 (H YBRID ) 1. Syllabus 2. Weekly Topics 3. Resources 4. Blackboard L AB E XERCISE 13: T IP C ALCULATOR Use the Firefox browser. Be srue to open the Error Console. Clear the console messages if necessary. T HE PROBLEM The user wants to calculate the amount to tip in a restaurant. The user will provide both the amount of the bill and the tip percentage to be used. R EQUIREMENTS The percentage and bill amounts will be entered into a form, and the results be shown in a textarea. The user should be able to enter the percentage as a whole number - for example a 15% tip should be entered as 15.* The report should show the original bill amount, the tip percent, the tip amount, and the total cost. The tip and total values should be shown in whole cents. The report should be organized into columns as indicated. The exact spacing may vary.             Bill     Percent      Tip      Total Cost             $17.95     10%       $1.80      $19.75  If the user enters another bill and percent, the new line of results should be added to what is already there. The Lab 13 Start Page has a basic form already created. You need to write the JavaScript event handler for the button.
Background image of page 1
You will need to add the initial line with the column headings in the textarea. S UBMIT YOUR WORK USING B LACKBOARD N OTE *To compute the tip, multiply by the decimal percent. If the entered amount is 15%, you must multiply by 0.15. Your script will have to divide the original value by 100. S UBMIT YOUR WORK 1.Upload your Fle to your public_html directory on wyrd.hood.edu. 2.Provide a hyperlink to the page in the submission form on Blackboard. 1. IT 581 Home 2. cs.hood.edu 3. Blackboard Comments to: [email protected] Last ModiFed: 23 July 2015. 16:53
Background image of page 2
Sign up to view the entire interaction

Step-by-step answer

ultrices ac magna. Fusce dui lectus, congue vel l

o. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio

lab13.html

Subscribe to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Web Design tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes