Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Must complete in ASP.NET Core MVC Homework 2-1 Build the Price Quotation app For this assignment, you will build a single-page app like the one
Must complete in ASP.NET Core MVC
Homework 2-1 Build the Price Quotation app For this assignment, you will build a single-page app like the one that's shown below. O x Price Quotation + f = e localhost:5001 Q : Price Quotation Subtotal: 500 Discount percent: 20 Discount amount: Total: $100.00 $400.00 Calculate Clear Specifications Start a new ASP.NET Core MVC web application (you may start it based upon the Model-View-Controller template as we did in the Future Value practice exercise). Name the application Cho2Quotation When the app starts, it should display the Price Quotation page with no subtotal or discount percent. The discount amount and total should show $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: The sales price is required and must be a valid number that's greater than 0.* 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. In the model class, store the subtotal and discount percent and include methods to calculate the discount amount and total. Use a custom CSS style sheet to style the HTML elements so they appear as shown above
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