Created a Food Order App , where have list of Food Items with price and description and we have option to add that item to Cart and based on Cart Count Updates and on click of cart Button , will see popup containing cart details.
Functional Behaviour
- Adding Item to Cart, we can do so by clicking on Add Item btn also providing additonal input field to user through that they can add any no. of quantity or in cart details popup we have + button from there also we can Add Item or Increase the Quantity of Item.
- Removig Item from Cart, we can do so by clicking on - Button present on Cart details popup, either decrease the quantity by 1 or remove it totally accordingly cart counts and other part updates.
Tech Used
FrontEnd:- React, Javascript, Context, Context-Provider, HTML, CSS. Storing all cart details in Cart-Context , and providing all details to needy components with cartProvider