Skip to content

Rushit004/sparkle

Repository files navigation

Sparkle E-Commerce Website

🌐 Live Demo

πŸ‘‰ Visit the Website:
https://sparkle-ecommerce.netlify.app

Experience the full Sparkle e-commerce flow including product browsing, registration, and cart functionality.


Landing Page

Landing Page
Products Catalog

Products Catalog
Product Detail (Mikasa GT18)

Product Detail - Mikasa GT18

Project preview

Sparkle is a front-end e-commerce website built for premium volleyball products. It includes a landing page, registration flow, product catalog, individual product pages, and a shopping cart experience with client-side persistence.

How to explore this project

Since this is a static HTML, CSS, and JavaScript project, open it locally using any of the following options:

  • Quick preview: Open the screenshots/ folder to view the design and key pages.
  • Open directly: Launch index.html in your browser.
  • Best experience: Use VS Code Live Server to navigate through the site smoothly.

What this repository demonstrates

  • A clean volleyball-focused e-commerce UI with a premium dark theme
  • Client-side registration and access control using localStorage
  • Product listing pages for multiple volleyball brands and models
  • Add-to-cart and remove-from-cart functionality
  • Responsive layout and reusable navigation/footer structure
  • A simple shopping flow from landing page to cart summary

Website pages

1. Home / Landing Page

  • Brand introduction with a bold hero section
  • Primary navigation to Products and Register
  • Minimal, premium first impression for the store

2. Registration Page

  • User registration form
  • Password confirmation check
  • Basic validation for contact number
  • Successful registration unlocks the protected product pages

3. Products Catalog

  • Displays the Sparkle volleyball collection
  • Lists multiple products with pricing and product highlights
  • Search/filter-style browsing experience through product cards

4. Product Detail Pages

  • Separate pages for featured volleyballs and models
  • Product-specific information and add-to-cart actions
  • Protected access after registration

5. Shopping Cart

  • Shows all added items
  • Displays running total
  • Supports item removal
  • Empty-cart state for a clean user experience

Technical highlights

HTML

  • Semantic page structure
  • Separate pages for each product and section
  • Consistent navigation and footer layout across the site

CSS

  • Premium dark visual theme
  • Reusable utility-style classes
  • Card layouts, hover effects, and responsive sections
  • Custom colors built around the Sparkle brand identity

JavaScript

  • Registration guard for protected pages
  • Cart count updates in the navbar
  • localStorage-based authentication simulation
  • Add-to-cart, remove-from-cart, and cart rendering logic

Data handling

  • No backend required
  • Cart and registration state are stored in browser localStorage
  • Fully client-side demo project

Key skills gained

  • Building multi-page websites
  • Creating reusable UI components with HTML and CSS
  • Adding interactivity with JavaScript
  • Using localStorage for simple persistence
  • Designing a complete e-commerce user flow
  • Organizing project files for clean navigation

Repo structure

sparkle_ecommerce_for_volleyball/
β”‚
β”œβ”€β”€ cart.html
β”œβ”€β”€ cosco-volley.html
β”œβ”€β”€ index.html
β”œβ”€β”€ jj-jonex.html
β”œβ”€β”€ mikasa-gt18.html
β”œβ”€β”€ nivia-g2020.html
β”œβ”€β”€ nivia-spiral.html
β”œβ”€β”€ products.html
β”œβ”€β”€ register.html
β”œβ”€β”€ senston-spansyon.html
β”œβ”€β”€ vector-x.html
β”‚
β”œβ”€β”€ css/
β”‚   └── styles.css
β”‚
β”œβ”€β”€ js/
β”‚   └── auth.js
β”‚
β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ background.png
β”‚   β”œβ”€β”€ cosco_vollyball_18.jpg
β”‚   β”œβ”€β”€ jj_jonex.jpg
β”‚   β”œβ”€β”€ mikasa_gt_18.jpg
β”‚   β”œβ”€β”€ nivia_spiral.jpg
β”‚   β”œβ”€β”€ senston.jpg
β”‚   └── vector x.jpg
β”‚
└── screenshots/
    β”œβ”€β”€ 01-landing-page.png
    β”œβ”€β”€ 02-registration-page.png
    β”œβ”€β”€ 03-products-catalog.png
    β”œβ”€β”€ 04-product-detail-mikasa-gt18.png
    β”œβ”€β”€ 05-product-detail-vector-x.png
    β”œβ”€β”€ 06-product-detail-senston-spansyon.png
    β”œβ”€β”€ 07-product-detail-nivia-spiral.png
    β”œβ”€β”€ 08-footer-section.png
    β”œβ”€β”€ 09-cart-with-items.png
    β”œβ”€β”€ 10-cart-empty-state.png
    β”œβ”€β”€ 11-auth-guard-redirect.png
    β”œβ”€β”€ 12-products-search-active.png
    └── 13-products-catalog-scrolled.png

πŸš€ Clone the Repository

git clone https://github.com/Rushit004/sparkle.git
cd sparkle

▢️ Run the Project

Since this is a static web project built with HTML, CSS, and JavaScript, simply open index.html in your web browser.

Using VS Code (Recommended)

  1. Open the project folder in Visual Studio Code.
  2. Install the Live Server extension.
  3. Right-click on index.html.
  4. Click Open with Live Server.

The website will launch in your default browser.

Tools used

  • HTML5
  • CSS3
  • JavaScript
  • Browser localStorage
  • VS Code / Live Server

What’s next

  • Add a backend with real user accounts
  • Store cart items in a database
  • Add product search and filtering with better sorting
  • Make the checkout flow fully functional
  • Connect the site to an admin panel for product management

About the project

Sparkle is a premium volleyball sports gear store built as a front-end project for practice, portfolio presentation, and web development learning.


About the author

Rushit Tholiya

About

A front-end e-commerce store for premium volleyball equipment with cart and auth features built using HTML, CSS, and JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors