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.