Skip to content

This is react Add-to-cart task By using States and hooks And conditional rendering

Notifications You must be signed in to change notification settings

ChandraBose-11/React-Add-to-cart-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is react Add-to-cart task By using States and hooks And conditional rendering

React-Shopping-Cart Application

Created a shopping cart using React that allows users to add and remove items from the cart.

React App Component

This is the main React component for your web application. It includes a navbar, header, products section, and footer. The navbar displays the count of items in the cart, the header showcases the title and description of the shop, the products section displays a list of products, and the footer contains copyright information.

React Navbar Component

This is a React component representing a responsive navigation bar (navbar) for a web page. It includes a brand logo, navigation links, and a cart button with a badge displaying the count of items in the cart.

React Header Component

This is a React component representing a header section for a web page. It includes a dark background with a title and description in the center, styled for a stylish shop homepage.s

React Product Card Component

This React component renders product cards with dynamic content such as product name, image, price, sale badge, and the ability to add or remove items from the cart.

React Footer Component

This is a React component representing a simple footer for a web page. It includes a dark background with centered white text displaying the copyright information.

To run this application,you should run this commands

Clone the repository:

git clone https://github.com/your-username/your-project.git

Navigate to the project directory:

cd your-project

Install dependencies:

npm install

Running the Application :

nmp run dev

About

This is react Add-to-cart task By using States and hooks And conditional rendering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published