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

https://github.com/thehelpfultipper/frontendmentor_ecommerce_page

Solution walkthrough for Frontend Mentor's E-commerce product page.
https://github.com/thehelpfultipper/frontendmentor_ecommerce_page

frontend-mentor frontendmentor-challenge reactjs vite

Last synced: about 2 months ago
JSON representation

Solution walkthrough for Frontend Mentor's E-commerce product page.

Awesome Lists containing this project

README

          

# Frontend Mentor - E-commerce product page solution

This is a solution to the [E-commerce product page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/ecommerce-product-page-UPsZ9MJp6). This E-commerce product page is built with React and Vite, and it’s designed to create a sleek, responsive product page that includes features like a lightbox gallery, cart management, and adaptive layouts for different screen sizes.



[Demo link](https://thehelpfultipper.com/frontendmentor_ecommerce_page/).


## Objective
This project aims to build an e-commerce product page that looks as close to the provided design as possible. The responsive application provides an optimal layout for different device screen sizes and includes interactive elements with hover states.
### The challenge

Users should be able to:

- View the optimal layout for the site depending on the device screen size
- See hover states for all interactive elements on the page
- Open a lightbox gallery by clicking on the large product image
- Switch the large product image by clicking on the small thumbnail images
- Add items to the cart
- View the cart and remove items from it

**View tutorial:** [How to Build an E-commerce Product Page with React and Vite](https://thehelpfultipper.com/how-to-build-an-e-commerce-product-page-with-react-and-vite/)

![Desktop preview](/public/static/desktop-preview.jpg)

## Features
- **Lightbox Gallery**: Open a lightbox by clicking on the large product image.
- **Thumbnail Navigation**: Switch the large product image by clicking on the small thumbnail images.
- **Add to Cart**: Add items to the cart and view the cart details.
- **Responsive Design**: View optimal layouts for different screen sizes.
- **Interactive Elements**: See hover states for all interactive elements.

## Technologies Used
- Vite
- React
- CSS Modules
- React Context
- Custom Hooks

## Credits
[Frontend Mentor](https://www.frontendmentor.io/): Project idea and specifications.

## License
This project is licensed under the MIT License. Feel free to use the code for personal or commercial projects.

For detailed tutorials, visit the [blog](https://thehelpfultipper.com/).