Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

Explain what a patent is and describe different types of patents.

Answered: 1 week ago

Question

Ty e2y Evaluate the integral dy

Answered: 1 week ago