Create a webpage for calculating the amount individuals in a party have to pay for restaurant meal. This webpage should allow the user to enter the total amount of the bill and the number of guests between which to split the bill. The webpage should also take input on the percentage of tip and calculate and present the bill total which should be part of the split amount.

For example , if the bill total is entered as 100 dollars, and the number of guests is 5, with a 20% tip amount, the total is presented as $120 and the split amount is shown as $24.

You may want to use input tags to take input from the user, without the need for the enclosing form tags. You may also attach an event listener to the button to capture the click event for calculation purposes or use the onclick event.

1. What are the three components that make up the HTML5 stack?

2. What is the value of a variable if it is declared as below?

var someVariable;

3. Write the JavaScript statement to get all the links in a webpage using DOM functions and store them in a variable myLinks.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.