Wilson Zoo would like you to implement and test a web application to be used to order drinks at their smoothie and milkshake shack, The Monkey Bar.  Basic Application Your web application must have one HTML file and one JS file (no navigation or style is needed) you may use a single style sheet to show and hide elements as per the specification provide suitable form elements to allow the customer to select a drink, by choosing: size, type, ingredients, base and extras, as shown below display the cost of the current drink, for example: provide a button to add the current drink to an order display the full details and cost of all drinks that have been added to the order, for example:

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Scenario

Wilson Zoo would like you to implement and test a web application to be used to order drinks at their smoothie and milkshake shack, The Monkey Bar. 

Basic Application

Your web application must

  • have one HTML file and one JS file (no navigation or style is needed)
    • you may use a single style sheet to show and hide elements as per the specification
  • provide suitable form elements to allow the customer to select a drink, by choosing:
    • size, type, ingredients, base and extras, as shown below
  • display the cost of the current drink, for example:
  • provide a button to add the current drink to an order
  • display the full details and cost of all drinks that have been added to the order, for example:




  • display a running total of the cost of the order, for example:

 

  • provide a button to place the order which simply outputs a message stating the order has been received and resets the screen

The customer can pick the following options for their drink:

  • size:
    • small - £2.45
    • medium (default) - £2.95
    • large - £3.45
  • type:
    • smoothie 
    • milkshake
  • ingredients - at least 1:
    • banana
    • strawberries
    • raspberries
    • blueberries
    • mango
    • chocolate
    • white chocolate
  • if the customer has selected a smoothie, they must select one of the following bases:
    • apple juice (default)
    • orange juice

 

  • if the customer has selected a milkshake, they must select one of the following bases:
    • whole milk
    • semi-skimmed milk (default)
    • coconut milk
    • oat milk



  • if the customer has selected a milkshake, they can also add any of the following extras at 50p each, (for example: cream, marshmallows and malt) 
    • chocolate sprinkles
    • marshmallows
    • cream
    • malt

 

Additional Features

Implement the following additional features:

  • ability to save a favourite drink
    • add 2 buttons to the form: "save favourite" and "order favourite"
    • see requirements in the marking scheme for add favourite 
  • ability to read the list of ingredients from an external JSON file and use it to populate the ingredients on the form
Current drink
£2.45
Small smoothie: banana, strawberries with apple juice
£2.45
Large smoothie: strawberries with orange juice
£3.45
Small milkshake: banana with oat milk and extra malt and cream £3.45
Medium smoothie: banana, mango, strawberries with apple juice
£2.95
Total
£12.30
Transcribed Image Text:Current drink £2.45 Small smoothie: banana, strawberries with apple juice £2.45 Large smoothie: strawberries with orange juice £3.45 Small milkshake: banana with oat milk and extra malt and cream £3.45 Medium smoothie: banana, mango, strawberries with apple juice £2.95 Total £12.30
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY