Question: Learning Objectives: This assignment is designed to practice: 1. Basic understanding of JavaScript variables, including declaration, initialization and assignment processes. 2. Obtain user input via



Learning Objectives: This assignment is designed to practice: 1. Basic understanding of JavaScript variables, including declaration, initialization and assignment processes. 2. Obtain user input via the prompt() function and present output to the user through the alert() function. 3. Use of the conditional if and if/else statements. 4. Use of arithmetic and logic operators. 5. Use of comments. PROBLEM DESCRIPTION You are required to create a webpage to implement a program to process data related to an auto service company based on the logic designed for the previous assignment's flowchart and pseudocode. The webpage will include JavaScript code in order to calculate Total Service (pre-tax), additional Concierge Fee (if selected), Sales Tax and Final cost of the bill. You will also follow a sequence of inputs and outputs in your program. The original rules about the logic required are listed below: - Two options for service are available for regular or concierge service: - Tire replacement: - Premium tires: $230.00 per tire - Budget tires: $150.00 per tire - $20.00 alignment charge per tire - Flat $30.00 old tire disposal fee (regardless of the number of tires) o Oil Change: - Synthetic oil - $80.00 - Non-synthetic oil - $65.00 - Flat $30.00 recycling fee - Concierge Service or Drop-off - A Vehicle Cleaning is only available if the concierge service is selected. The fee for Vehicle Cleaning is $40 - Using Concierge Service will add a 15% surcharge to the total cost of all services (including vehicle cleaning if selected). Concierge Service is capped at $75. Inputs: - Tire replacement option: Yes or No - Tire Quality: Text - Premium or Budget - Number of Tires: Numerical - Oil Change option: Yes or No - Oil Type: Text - Synthetic or Non - Concierge Service: Yes or No - Vehicle Cleaning option: Yes or No Outputs: - Total service price (pre-tax). - Additional concierge service fee (if selected). - Sales Tax amount to be added to the bill ( 7% rounded up to the nearest cent). - Final Cost of the bill (including the tax). The following concepts are among those that ARE NOT covered in this course. DO NOT lude the following HTML/JavaScript/JQuery programming concepts/elements in your bmissions to be graded as they are beyond the scope of this course. Inclusion of these ements will result in a grade of 0 for the assignment. variables defined with const Gvariables defined with let JavaScript Objects such as: const person ={ firstName: "John", lastName: "Doe", age: 50 , eyeColor: "blue" \} JS arrays of objects Advanced HTML DOM Document and Element objects and their related properties and methods: DO NOT USE the elements described on the W3Schools Page 4 of 5 page: https://www.w3schools.com/is/is htmldom document.asp vou are required to write your code using the methods specifically taught in your class and NOT to use these advanced concepts. Some of these concepts/methods include: - getElementByld Method - inner HTML property - Advanced HTML DOM Events and Event Objects - HTML forms - Any calls using JQuery
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
