sneakers-vault

πŸ‘Ÿ Sneakers Vault

An interactive concept e-commerce platform for sneaker lovers β€” offering a playful user experience with randomized product displays, dynamic size selection, and a functional shopping cart system.

Sneakers Vault Screenshot


πŸš€ Live Demo

πŸ”— Visit Live Site
(Best viewed on desktop or larger screens)


πŸ“Œ Table of Contents


🧩 Overview

Sneakers Vault is a frontend e-commerce prototype that simulates the experience of browsing and purchasing sneakers. It emphasizes dynamic product rendering, randomized size generation, and interactive UI features to provide a more engaging user experience.

This project was built to showcase frontend skills in JavaScript, CSS, and DOM manipulation, and is part of my professional portfolio.


✨ Features


πŸ“„ Pages

🏠 Home Page (index.html)

Displays:

πŸ›οΈ Cart Page (cart.html)

Includes:

Cart data is stored in memory (no persistent storage). On reload, contents reset.


πŸ› οΈ Tech Stack

Technology Description
HTML5 Semantic structure of the UI
CSS3 Custom styling and responsive layout
Vanilla JavaScript Dynamic DOM updates, cart logic, random generators
GitHub Pages Deployment and live demo hosting

🧱 Project Structure

sneakers-vault/ β”œβ”€β”€ assets/ β”‚ β”œβ”€β”€ css/ β”‚ β”‚ └── styles.css # Styling and layout β”‚ β”œβ”€β”€ js/ β”‚ β”‚ β”œβ”€β”€ main.js # Homepage logic (product cards, size selection, add to cart) β”‚ β”‚ β”œβ”€β”€ cart.js # Cart page logic (quantity, remove, UI updates) β”‚ β”‚ └── utils.js # Helper functions (random generators, size arrays, etc.) β”‚ └── images/ # Product images, logos, screenshots β”œβ”€β”€ index.html # Home page with product listing β”œβ”€β”€ cart.html # Cart page with selected items └── README.md # Project documentation


βš™οΈ Installation

To run the project locally on your machine:

  1. Clone the repository:

git clone https://github.com/alelodato/sneakers-vault.git


πŸ§ͺ Testing

All testing has been performed manually. Below are the test cases covered:

Test Case Expected Behavior Status
Home loads with random sneakers each time Products are randomized on each page load βœ…
Click β€œAdd to Cart” without selecting size Block action + show alert message βœ…
Select size then click β€œAdd to Cart” Product is added to cart βœ…
Navigate to Cart page Cart displays added products with correct data βœ…
Change quantity with β€œ+” and β€œβˆ’β€ buttons Quantity updates immediately in cart βœ…
Remove product from cart Product disappears from cart βœ…
Reload home page Different set of products and sizes appears βœ…
Cart resets on page refresh Cart is emptied (no persistent storage) βœ…
Responsive on mobile Layout adjusts and remains functional βœ…
Error handling (e.g. no size selected) Friendly alert shown to the user βœ…

https://sneakers-vault-jet.vercel.app/

An interactive concept e-commerce platform for sneaker lovers β€” offering a playful user experience with randomized product displays, dynamic size selection, and a functional shopping cart system.

Sneakers Vault Screenshot


πŸš€ Live Demo

πŸ”— Visit Live Site
(Best viewed on desktop or larger screens)


πŸ“Œ Table of Contents


🧩 Overview

Sneakers Vault is a frontend e-commerce prototype that simulates the experience of browsing and purchasing sneakers. It emphasizes dynamic product rendering, randomized size generation, and interactive UI features to provide a more engaging user experience.

This project was built to showcase frontend skills in JavaScript, CSS, and DOM manipulation, and is part of my professional portfolio.


✨ Features


πŸ“„ Pages

🏠 Home Page (index.html)

Displays:

πŸ›οΈ Cart Page (cart.html)

Includes:

Cart data is stored in memory (no persistent storage). On reload, contents reset.


πŸ› οΈ Tech Stack

Technology Description
HTML5 Semantic structure of the UI
CSS3 Custom styling and responsive layout
Vanilla JavaScript Dynamic DOM updates, cart logic, random generators
GitHub Pages Deployment and live demo hosting

🧱 Project Structure

sneakers-vault/ β”œβ”€β”€ assets/ β”‚ β”œβ”€β”€ css/ β”‚ β”‚ └── styles.css # Styling and layout β”‚ β”œβ”€β”€ js/ β”‚ β”‚ β”œβ”€β”€ main.js # Homepage logic (product cards, size selection, add to cart) β”‚ β”‚ β”œβ”€β”€ cart.js # Cart page logic (quantity, remove, UI updates) β”‚ β”‚ └── utils.js # Helper functions (random generators, size arrays, etc.) β”‚ └── images/ # Product images, logos, screenshots β”œβ”€β”€ index.html # Home page with product listing β”œβ”€β”€ cart.html # Cart page with selected items └── README.md # Project documentation


βš™οΈ Installation

To run the project locally on your machine:

  1. Clone the repository:

git clone https://github.com/alelodato/sneakers-vault.git


πŸ§ͺ Testing

All testing has been performed manually. Below are the test cases covered:

Test Case Expected Behavior Status
Home loads with random sneakers each time Products are randomized on each page load βœ…
Click β€œAdd to Cart” without selecting size Block action + show alert message βœ…
Select size then click β€œAdd to Cart” Product is added to cart βœ…
Navigate to Cart page Cart displays added products with correct data βœ…
Change quantity with β€œ+” and β€œβˆ’β€ buttons Quantity updates immediately in cart βœ…
Remove product from cart Product disappears from cart βœ…
Reload home page Different set of products and sizes appears βœ…
Cart resets on page refresh Cart is emptied (no persistent storage) βœ…
Responsive on mobile Layout adjusts and remains functional βœ…
Error handling (e.g. no size selected) Friendly alert shown to the user βœ