Cart:
- Can input count of product before "add to cart" and in the top-right corner can see all products cost.
- After add to cart append button "delete".
- Can increase or decrease count of products; remove a product; refresh cart.
Products:
-
Сlick on picture or title of product can see modal window with details.
-
V2. Add loader (during time to respond products from database);
-
Used API:Mock API - https://mockapi.io/docs (REST interface)
-
React framework. Hooks used: useState, useMemo, useContext, useEffect