Hi! I need help on my Javascript programming assignment. I just need help on the functions and output, I have everything else.
Estimated time: 3 hours Question 3 - JavaScript Chapter 5 & 6 (34 points) . Save question 3 files in subfolder "lastname firstname assignment6lq3l". (-25 points if no JavaScript) Create a web page that displays the default information (example shown). The initial page and related outputs should look like the examples shown below Create your page using "
's Kung Fu Panda Po Weekly Pho Log" as the page title. Save the page as index.htm. Remember to document the html file with html comments. (1 point each, total 3 points) Write a program that allows the user to enter the number of bowls of pho Po ate for each day and each week. (1 point each, total 2 points) . o Use html text fields Kinput type-"text".. > to capture the number of weeks and the number of davs per week (4 points) o The user should be allowed to enter the number of bowls of pho for each day of each week. o The output should look like the example output shown o The program should also calculate Po's total number of bowls of pho, subtotal number of bowls (1 point each, total 3 points) of pho for each week, and the day with the largest number of bowls of pho for each week. Your output should follow the example output format given (3 points each, total 12 points) o You must use nested loops (for, or while, or do..while or mixing them) to solve the problem. (-15 points if not) Create a css file named style.css to format index.htm by creating your own layout (no two students should have the same layout). Use css comments to document the css program. (1 point each, total 2 points) Example: Initial Page Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday: Number of days Po ate pho each week: Enter the number of bowls of pho ate each day/week Example: Input Richard Ricardo's Kung Fu Panda Po Weekly Pho L0g Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday: Number of days Po ate pho each week Number of weeks Po was on pho holiday: 2 Number of days P Enter the number of bowls of pho ate each day/week Enter the the number of bows of pho Po ate forweek 1, day 1 Enter the number of bowls Po trained 2 Week 1 Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday:2 Number of days Number of weeks Po was on pho holiday: 2 Number of days Enter he he number at bowls ofpho Po ate for week 1, day 2 Enter the thne number of bowis of pho Po ate for week 1,day 3 Enter the number of bowls Enter the number of bowls Po trained 2 weel Week 1 Number of bowls of pho for day 2-5 bowls Preventthi5 page hom estng addSonal dialogs Prevent rus page hom creang annona aaags Po trained 2 OK Week 1 Number of bowls of Cancel Number of bowls of p Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday: 2 Number of days Number of weeks Po was on pho holiday: Number of days Enter the the number of bowls of pho Po ate for week 2, day 1 Enter the the number of bowts of pho Po ate for week 2, day 2 Enter the number of bowls Enter the number of bowls of Prevent this page from areating adanonal aalogs Prevent this page from creating addtional dialogs Po trained 2 wee Po trained 2 weel oK Cancel Week 1 Number of bowls of Number of bowls of pho for day 2 5 bowls Number of bowls of pho for day 3 6 bowls Week 1 subtotal is 14 bowls of pho Week 1's largest day (number of bowls of pho) is 6 bowls, happens orn day 3 Week 1 Number of bowls o Number of bowls of pho for day 2-5 bowls Number of bowls of pho for day 3-6 bowls Week 1 subtotal is 14 bowls of pho Week 1's largest day (number of bowls of pho) is 6 bowls, happens on day 3 Week 2 Week 2 Number of bowls of pho for day 1 4 bowls Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday: 2 Number of days Enter the tme number of bowis ef pho Po ate for week 2, day 3 Enter the sumber of bowls Prevent this page rom creating adanonal aalogs Po trained 2 weel Week 1 Number of bowls o Number of bowls of pho for day 2 5 bowls Number of bowls of pho for day 3 = 6 bowls Week 1 subtotal is 14 bowls of pho Week 1's largest day (number of bowls of pho) is 6 bowls, happens on day 3 Week 2 Number of bowls of pho for day 1 4 bowls Number of bowls of pho for day 2-8 bowls Example: Output Richard Ricardo's Kung Fu Panda Po Weekly Pho Log Number of weeks Po was on pho holiday: 2 Number of days Po ate pho each week 3 Enter the number of bowls of pho ate each day/week Po was on pho holiday for 2 weeks, and spent 3 days per week eating. Week 1 Number of bowls of pho for day 1 3 bowls Number of bowls of pho for day 2 5 bowls Number of bowls of pho for day 3 6 bowls Week 1 subtotal is 14 bowls of pho Week 1's largest day (number of bowls of pho) is 6 bowls, happens on day 3. Week 2 Number of bowls of pho for day 1 4 bowls Number of bowls of pho for day 2 8 bowls Number of bowls of pho for day 3-7 bowls Week 2 subtotal is 19 bowls of pho Week 2's largest day (number of bowls of pho) is 8 bowls, happens on day 2. The total number of bowls of pho for these weeks 33 bowls of pho