Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danielmrz-dev/product-list-with-cart

55th Frontend Mentor Challenge
https://github.com/danielmrz-dev/product-list-with-cart

axios react sass typescript vitejs yarn

Last synced: 20 days ago
JSON representation

55th Frontend Mentor Challenge

Awesome Lists containing this project

README

        

# Frontend Mentor - Product list with cart solution

This is a solution to the [Product list with cart challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-list-with-cart-5MmqLVAp_d). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Given design

![Design preview for the Product list with cart coding challenge](./preview.jpg)

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Author](#author)

## Overview

### The challenge

Users should be able to:

- Add items to the cart and remove them
- Increase/decrease the number of items in the cart
- See an order confirmation modal when they click "Confirm Order"
- Reset their selections when they click "Start New Order"
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page

### Screenshot

![](src/assets/images/screenshot.png)

### Links

- Solution URL: [My solution on Frontend Mentor Platform](https://www.frontendmentor.io/solutions/products-list-with-cart-built-w-react-typescript-RS5XseIsVI)
- Live Site URL: [Live site](https://product-list-with-cart-ten-zeta.vercel.app/)

## My process

### Built with

- [Vitejs](https://vitejs.dev/)
- [React](https://reactjs.org/)
- [Axios](https://axios-http.com/)
- TypeScript
- SASS
- Mobile-first workflow
- Yarn

### What I learned

This project was a very good exercise to practice the main React hooks: `useState`, `useEffect`, `useContext` and `useRef`.

## Author

- Frontend Mentor - [danielmrz-dev](https://www.frontendmentor.io/profile/danielmrz-dev)
- LinkedIn - [danielmrz-dev](https://www.linkedin.com/in/danielmrz-dev/)