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 1 Build the Price Quotation app in Visual Studio Code
For this project, you will build a one-page 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 $0.00.
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 0.
o The discount percent is required and must be a valid number from 0 to 100.
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
 Project 1 Build the Price Quotation app in Visual Studio Code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!