https://github.com/ajkun55/product-list-with-cart-with-nextjs-typescript-tailwindcss
Frontend Mentor Challenge, Responsive Mobile-first web design, NextJS, Tailwind CSS, Typescript
https://github.com/ajkun55/product-list-with-cart-with-nextjs-typescript-tailwindcss
frontendmentor-challenge nextjs tailwindcss typescript
Last synced: 3 months ago
JSON representation
Frontend Mentor Challenge, Responsive Mobile-first web design, NextJS, Tailwind CSS, Typescript
- Host: GitHub
- URL: https://github.com/ajkun55/product-list-with-cart-with-nextjs-typescript-tailwindcss
- Owner: ajkun55
- Created: 2024-08-21T03:02:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-21T03:19:28.000Z (10 months ago)
- Last Synced: 2025-01-12T17:46:52.427Z (5 months ago)
- Topics: frontendmentor-challenge, nextjs, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://product-list-with-cart-with-next-js-typescript-tailwind-css.vercel.app
- Size: 1.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Product list with cart

## Welcome! 👋
This is my solution to the [Product list with cart challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-list-with-cart-5MmqLVAp_d).
Thanks for checking out this front-end coding challenge.
[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.
**To do this challenge, you need a good understanding of HTML, CSS and JavaScript.**
## The challenge
Your challenge is to build out this product list project that includes a functional cart and get it looking as close to the design as possible.
You can use any tools you like to help you complete the challenge. So, if you have something you'd like to practice, feel free to give it a go.
We provide the data for the products in a local `data.json` file. So you can use that to populate the UI dynamically if you choose.
Your 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## Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- [React](https://reactjs.org/) - JS library
- [Next.js](https://nextjs.org/) - React frameworkThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```