Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zun-liang/fem-crowdfunding-product-page

Frontend Mentor Challenge Solution Crowdfunding Product Page
https://github.com/zun-liang/fem-crowdfunding-product-page

css html javascript reactjs styled-components vite

Last synced: 9 days ago
JSON representation

Frontend Mentor Challenge Solution Crowdfunding Product Page

Awesome Lists containing this project

README

        

# Frontend Mentor - Crowdfunding product page solution

This is a solution to the [Crowdfunding product page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/crowdfunding-product-page-7uvcZe7ZR). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## 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)
- [Continued development](#continued-development)
- [Author](#author)

## Overview

### The challenge

Users should be able to:

- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Make a selection of which pledge to make
- See an updated progress bar and total money raised based on their pledge total after confirming a pledge
- See the number of total backers increment by one after confirming a pledge
- Toggle whether or not the product is bookmarked

### Screenshot



mobile preview
mobile modal preview
mobile complete preview




desktop preview




desktop preview




desktop preview

### Links

- Solution URL: [here](https://www.frontendmentor.io/solutions/crowdfunding-product-page-created-using-reactjs-and-styledcomponents-DFwezJy1GE)
- Live Site URL: [here](https://zun-liang.github.io/fem-crowdfunding-product-page/)

## My process

### Built with

- HTML
- CSS
- Flexbox
- Mobile-first workflow
- React.js
- Styled-components
- Vite

### What I learned

- styled-components
- props.children
- toLocaleString()
- ::-webkit-scrollbar (not recommended anymore actually)
- nth-of-type()
- background-clip
- ::before/after
- onMouseOver/Out

### Continued development

- React router
- React context
- React custom hooks
- render props
- unit testing
- styled-components
- how to work with svg in styled-components

## Author

- Website - [Zun Liang](https://zunldev.com/)
- GitHub - [@zun-liang](https://github.com/zun-liang)
- Frontend Mentor - [@zun-liang](https://www.frontendmentor.io/profile/zun-liang)
- freeCodeCamp - [@zun-liang](https://www.freecodecamp.org/zun-liang)