Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create one web page and two data sources. The web page will be a product page. One of the data file will contain the product

Create one web page and two data sources. The web page will be a product page. One of the data file will contain the product information that will display on the product page. The other data file will contain order information. Details for the product page and the data files are listed below. Product Page - The colors, font styles, etc. should match those used in your previous lab assignments and should be handled with external CSS. Only minimal inline styling is acceptable and only when necessary to override styling from the external CSS file.

Sort options above the product information to allow the user to sort the products by: Product ID - Ascending Product ID Descending Product Name Ascending Product Name - Descending Product Price Ascending Product Price _Descending

All products must be listed in an organized fashion on the page and should be sorted by Product Name in ascending order when the page loads. Pull the product information for the products (you need at least 10) from the data source file, which you will create yourself. You will need to show a product ID, product name/description, price, and picture for each product, along with an input element for each product in which the user may specify a Quantity to purchase (allow only whole numbers greater than or equal to 0). Submit and Cancel buttons at the bottom of the page Submit Confirms with the message, Are you sure you want to submit your order? If confirmed, create a data file containing product ID and quantity for each product with a selected quantity > 0. If the user does not confirm, no action is necessary. Clear confirms with the message, Are you sure you want to cancel? If confirmed, clear the selected quantities. If the user does not confirm, no action is necessary. Data File - json file: You will need to create a data file containing all product information. All products should be related to your product theme. Include an image, product ID, product name/description, and price for each product. For uniformity, each image must have the same dimensions when loaded in the page.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago