This is a solution to the Audiophile e-commerce website challenge on Frontend Mentor.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Add/Remove products from the cart
- Edit product quantities in the cart
- Fill in all fields in the checkout
- Receive form validations if fields are missed or incorrect during checkout
- See correct checkout totals depending on the products in the cart
- Shipping always adds $50 to the order
- VAT is calculated as 20% of the product total, excluding shipping
- See an order confirmation modal after checking out with an order summary
- Keep track of what's in the cart, even after refreshing the browser (
localStoragecould be used for this if you're not building out a full-stack app)
- Solution URL: solution URL
- Live Site URL: live site URL
Follow these steps to set up and run the project locally on your machine.
- git clone https://github.com/Shaimaa01/Audiophile-e-commerce-website.git
- npm install
- npm run dev
- Vite
- ESLint
- Prettier
- @vitejs/plugin-react
- Tailwind CSS
- Formik
- Yup
- React
- React-DOM
JS React Tailwind CSS Formik Yup
