Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started