Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You should put your html file, your css (if you used one), and your images all in a folder and zip it and upload it.

You should put your html file, your css (if you used one), and your images all in a folder and zip it and upload it. It is your responsibility to verify your images open and are not linked to your machine. Easiest way to verify this is to copy your folder to some other location on your machine and verify your page still loads correctly. 1. Something similar to #1 on the lab. When you collect the users name, phone number, email, trap the user in a loop until both email addresses are the same. DO NOT ask the user to enter their name and phone again just the email address. 2. In each instance where you ask the user how many items they want, trap them in a loop until they give you a whole, positive number (there is a slide in the PowerPoints for this). 3. When you ask what size, or whether new or used, or (in my case) Weekend or weekday lessons, trap them in a loop until they give you a valid option. 4. Allow the user to order many items. For example, with my site they can have 4 weekday lessons on Happy, 2 weekend lessons on Happy, 3 weekend lessons on Buster. 5. Add a button which, when clicked, calls a function to calculate the cost for all of these (you may need to use parameters and/or global variables), and display the results in a table. a. The table should list each item ordered in one column, the size or choice (in my case Weekend or Weekday) in other columns, and the cost of this item in the last column. After all items have been listed, put the total cost in the last row of the table. b. This may be easier to understand if you look at my solution in the video.

The calulate total will as follows:

image text in transcribed

image text in transcribed

Please use this HTML FILE:

image text in transcribedimage text in transcribed

image text in transcribed

The page should look similar to this:

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Calculate Total Thank you for your order head> it le> H2 title> head body 1 buttons-->

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions