Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kabir-afk/e-commerce-app

E-commerce frontend app
https://github.com/kabir-afk/e-commerce-app

props-and-state-components reactjs scss

Last synced: about 2 months ago
JSON representation

E-commerce frontend app

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). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

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

## Overview

### The challenge

Users should be able to:

- View the optimal layout for the site depending on their device's 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

### Links

- Live Site URL: [live site](https://kabir-afk.github.io/E-Commerce-App/)

## My process

### Built with

- Semantic HTML5 markup
- SCSS
- Flexbox
- Desktop-first workflow
- [React](https://reactjs.org/) - JS library

### What I learned

- The many ways you can use ```useState()``` hook to achieve various tasks . . for example I used it to alter the appearance of some elements by changing the classes added to them , or for toggling elements , or change images etc . . .

### Inadequacies

- Del button doesn't work , I'm working on how to trigger and manage reset states.
- Site isn't completely responsive and fails to provide a good UX at many places (was too tired at this point).
- Cart checkout fucntinality doesn't update simultaneously , cart icon has to be toggled again.
- Couldn't trigger hover states, dk why.
- Lightbox gallery isn't perfect , but okay-ish at best . . .

## Author

- Frontend Mentor - [@solitary_coder](https://www.frontendmentor.io/profile/solitary_coder)

## Acknowledgments

CodeWithHarry react.js tutorials