Create an empty Web Site application named Tea and save it in the VB2015 Chap12 folder. Add
Question:
Create an empty Web Site application named Tea and save it in the VB2015\ Chap12 folder. Add a new Web page named Default.aspx to the application. Change the DOCUMENT object’s Title property to Brazilian Tea. Brazilian Tea is a store that sells both hot and iced tea in three different cup sizes: Small ($2.55), Medium ($3.75), and Large ($4.50). The store must also charge a 4% sales tax. Use Figure 12-61 as a guide when designing the Web page. The Calculate button should calculate the total price of a cup of tea. It then should display (in the lblMessage control) a message that indicates the cup size, total price, and whether the tea is hot or iced. In the Code Editor window, enter comments to document the application’s name and purpose as well as your name and the current date. Also enter the appropriate Option statements. Code the Calculate button’s Click event procedure. Display the total price with a dollar sign and two decimal places. Save the application, and then start and test it. Close the browser window. Close the Code Editor window and then close the application.
Step by Step Answer: