user story: place order as a new customer, i want to place a coffee order using the web application, so that i can buy coffee. acceptance criteria: the user can log in to the application. the user can access their account and place an order. tasks: when the user logs in, take them to a page that allows them to place a coffee order. Create an cart.js script and reference it in the page. In this script, create a class that represents an order. it should have a date, product ( you will need to create another class for this that contains the name and price), size (could be small, medium or large) and quantity. As the user selects coffee items, update a cart with this script. Use an array to or web storage to store the items they select. Implement a checkout page that displays the items they ordered. The checkout page should display the total they need to pay.
user story: place order as a new customer, i want to place a coffee order using the web application, so that i can buy coffee. acceptance criteria: the user can log in to the application. the user can access their account and place an order. tasks: when the user logs in, take them to a page that allows them to place a coffee order. Create an cart.js script and reference it in the page. In this script, create a class that represents an order. it should have a date, product ( you will need to create another class for this that contains the name and price), size (could be small, medium or large) and quantity. As the user selects coffee items, update a cart with this script. Use an array to or web storage to store the items they select. Implement a checkout page that displays the items they ordered. The checkout page should display the total they need to pay.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images