Pure Pixel is a frontend-only luxury beauty e-commerce portfolio project built with HTML5, CSS3, and vanilla JavaScript.
index.html- home, hero, categories, featured products, routine, quiz CTA, testimonials, journal preview, newslettershop.html- searchable, filterable, sortable product gridproduct.html- dynamic product detail page using?id=journal.html- editorial beauty contentwishlist.html- localStorage wishlistcart.html- localStorage cart with quantities and totalscheckout.html- frontend-only checkout flowabout.html- brand and project story
css/variables.csscentralizes design tokens.css/reset.css,css/global.css,css/components.css, andcss/animations.cssform the shared design system.css/pages/contains page-specific layout styles.data/products.jsonanddata/reviews.jsonprovide reusable content data.js/utils.js,theme.js,animations.js,products.js,wishlist.js,cart.js, andapp.jseach keep a single responsibility.
Use a local server so JSON loading works:
python3 -m http.server 4173Then open:
http://127.0.0.1:4173/
- Responsive navigation and mobile drawer
- Light and dark theme persistence
- Product rendering from JSON
- Search, category filtering, and sorting
- Wishlist persistence with localStorage
- Cart persistence, quantity controls, subtotals, and checkout summary
- Product detail routing via query string
- Scroll progress, reveal animations, loader, and back-to-top control
- Semantic markup and accessible labels for key controls