Skip to content

BANTUSAMPATHKUMAR/clothing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StyleHub - Clothing Website MVP

A modern, responsive clothing e-commerce website built with vanilla HTML, CSS, and JavaScript.

🚀 Features

Core Functionality

  • Category Browsing: Browse products by category (Men, Women, Kids, Sale)
  • Product Grid: Responsive product display with images, prices, and add-to-cart functionality
  • Shopping Cart: Add, remove, and update quantities with localStorage persistence
  • Checkout Process: Complete checkout form with order confirmation
  • Mobile-First Design: Fully responsive across all devices

Technical Features

  • localStorage Integration: Cart persists across browser sessions
  • Real-time Updates: Cart count updates across all pages
  • Form Validation: Client-side validation for checkout
  • Modern UI/UX: Clean, professional design with smooth animations
  • SEO Optimized: Proper meta tags and semantic HTML

📁 Project Structure

clothing/
├── index.html          # Homepage with categories
├── products.html       # Product listing page
├── cart.html          # Shopping cart page
├── checkout.html      # Checkout page
├── css/
│   └── styles.css     # Main stylesheet
├── js/
│   ├── main.js        # Shared navigation & cart logic
│   ├── products.js    # Product listing & filtering
│   ├── cart.js        # Cart management
│   └── checkout.js    # Checkout form handling
└── README.md          # Project documentation

🛠️ Setup Instructions

  1. Clone or Download the project files
  2. Open index.html in your web browser
  3. Start Shopping - no server setup required!

🎯 User Journey

  1. Browse Categories: Visit homepage and click on any category
  2. View Products: See product grid with images, names, and prices
  3. Add to Cart: Click "Add to Cart" on desired items
  4. Manage Cart: Visit cart page to update quantities or remove items
  5. Checkout: Fill out shipping and payment information
  6. Order Confirmation: Receive order confirmation with order ID

📱 Responsive Design

The website is fully responsive and optimized for:

  • Desktop: Full-featured experience with sidebar filters
  • Tablet: Adaptive layout with touch-friendly controls
  • Mobile: Mobile-first design with optimized navigation

🛍️ Product Categories

Men's Collection (8 items)

  • Classic Denim Jacket - $59.99
  • Slim Fit Chinos - $39.99
  • Cotton Crew T-Shirt - $19.99
  • Wool Blazer - $89.99
  • Casual Hoodie - $34.99
  • Formal Dress Shirt - $44.99
  • Leather Belt - $24.99
  • Winter Sweater - $49.99

Women's Collection (10 items)

  • Floral Summer Dress - $49.99
  • High Waist Jeans - $44.99
  • Silk Blouse - $34.99
  • Knit Cardigan - $39.99
  • Pencil Skirt - $29.99
  • Evening Gown - $129.99
  • Casual T-Shirt - $16.99
  • Denim Jacket - $54.99
  • Summer Shorts - $24.99
  • Winter Coat - $89.99

Kids' Collection (8 items)

  • Boys Polo Shirt - $14.99
  • Girls Denim Skirt - $17.99
  • Kids Hoodie - $24.99
  • School Uniform - $34.99
  • Rain Jacket - $19.99
  • Party Dress - $29.99
  • Sports Jersey - $22.99
  • Winter Boots - $39.99

Sale Items (8 items)

  • Unisex Graphic Tee - $9.99
  • Lightweight Windbreaker - $29.99
  • Casual Sneakers - $19.99
  • Summer Hat - $7.99
  • Denim Shorts - $12.99
  • Basic Tank Top - $6.99
  • Winter Scarf - $8.99
  • Formal Tie - $11.99

🎨 Design Features

  • Color Scheme: Modern dark theme with accent colors
  • Typography: Clean, readable fonts
  • Animations: Smooth hover effects and transitions
  • Icons: Font Awesome integration
  • Images: High-quality Unsplash placeholder images

🔧 Technical Implementation

Cart Management

  • Uses localStorage for persistence
  • Real-time cart count updates
  • Cross-page synchronization

Product Filtering

  • Category-based filtering
  • URL parameter handling
  • Dynamic product rendering

Form Handling

  • HTML5 validation
  • Custom error handling
  • Order confirmation modal

🚀 Future Enhancements

  • Real payment gateway integration (Stripe)
  • User authentication and accounts
  • Product search functionality
  • Wishlist feature
  • Product reviews and ratings
  • Admin dashboard
  • Inventory management
  • Email notifications
  • Order tracking

📄 License

This project is created for educational and demonstration purposes.

👨‍💻 Developer Notes

  • Browser Compatibility: Modern browsers (Chrome, Firefox, Safari, Edge)
  • Performance: Optimized images and lazy loading
  • Accessibility: Semantic HTML and ARIA labels
  • SEO: Meta tags and structured data ready

StyleHub - Your destination for trendy fashion! 🛍️