A modern, responsive React web application that displays a grid of products with images, prices, ratings, and descriptions. This project is ideal for learning React fundamentals, component-based architecture, and inline styling.
- Product Grid: Displays a list of 30 products in a visually appealing grid layout.
- Reusable Components: Clean separation between
App,Products, andProductcomponents. - Dynamic Data: Product data is generated programmatically for demonstration.
- Responsive Design: Uses CSS grid and flexbox for a modern look.
- Sample Images: Uses both real and placeholder images for products.
Assignment_1/
public/
index.html
src/
App.js
components/
Products.js
Product.js
Photos/
Product 1/
Product 2/
Product 3/
package.json
README.md
- Install dependencies:
npm install
- Run the app:
The app will open at http://localhost:3000.
npm start
- Browse the product grid.
- Each card shows an image, name, price, rating, and description.
- Click "Add to cart" (button is for UI only, no cart logic implemented).
- Add your own products or images in
src/Photos/and update the data inApp.js. - Style components further as needed.
Sagar Biswas
Feel free to use, modify, and share this project for learning or as a starter template!