A checkout page with some discounts rules based on item amount
?Cart Frontend Challenge
A checkout page with some discounts rules based on item amount:
- Shirt: Buy 3 or more and and Get %5 discount on each one
- Skirt: Buy 2 for the price of 1
This is part of a challenge for a technical interview. Styles and HTML were provided beforehand.
Run it locally
- Clone or download the main folder structure.
- Run
npm install
. - Run
npm run dev
. - Check the returned URL and run it in your browser.
Stack
- Tooling: Vite
- Library: React
- Main Language: Typescript
- Styles: Post-CSS
- State Management: Zustand