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

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

Awesome Lists containing this project

README

        

# Frontend Mentor - Product list with cart

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

## 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 framework

This 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
```