Question
In this assignment, you will create an app that totals the cost for selected lunch items from a lunch menu, calculates 5 percent tax on
In this assignment, you will create an app that totals the cost for selected lunch items from a lunch menu, calculates 5 percent tax on the selection, calculates the total, and displays them. Use a checkbox for selecting lunch items from the lunch menu and use table to show Item total, Tax and Total with tax with two decimal places.
Lunch selections
Fried chicken($7.99) Fried halibut($9.99) Hamburger($7.99) Grilled salmon($12.99) Side salad($5.99)
"Calculate" onclick="calculateTotal()" />
Use DOM methods where appropriate. o Use for loops and if statement where required. o Use innerHTML and/or textContent to display output. o Use separate .js and .css files
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