Question: Project 1 Build the Price Quotation app in Visual Studio Code For this project, you will build a one - page app like the one
Project Build the Price Quotation app in Visual Studio Code
For this project, you will build a onepage app like the one thats shown below.
Specifications
When the app starts, it should display the Price Quotation page with no subtotal or discount percent, and it should set the discount amount and total to $
If the user enters a valid subtotal and discount percent and clicks the Calculate button, the app should calculate and display the discount amount and total.
If the user enters invalid data and clicks the Calculate button, the app should display a summary of validation errors above the form.
Here are the requirements for valid data:
o The sales price is required and must be a valid number thats greater than
o The discount percent is required and must be a valid number from to
If the user clicks the Clear link, the app should reset the form to how it was when the app first started.
Use the MVC pattern. To do that, create a model class that stores the subtotal and discount percent and calculates the discount amount and total. Make sure to bind that model to the Razor view that displays the Price Quotation page shown above.
Use a Razor layout to store the
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
