This is a solution to the E-commerce product page challenge on Frontend Mentor.
The challenge was to build a responsive e-commerce product web page for mobile and desktop devices, following the design files and trying to keep as close as possible to them.
The users should be able to:
- View the optimal layout for the site depending on their device's screen size ✔️
- See hover states for all interactive elements on the page ✔️
- Open a lightbox gallery by clicking on the large product image ✔️
- Switch the large product image by clicking on the small thumbnail images ✔️
- Add items to the cart ✔️
- View the cart and remove items from it ✔️
It's an e-commerce product web page, you can add the item (autumn sneakers) to the cart how many times you want, see all the images about the product by clicking on the arrow buttons (mobile & lightbox opened) or by the thumb images below the main image (only screens with >= 992px).
- The items in the cart are being stored in the user's browser, in session storage, which means they will only be available while the browser section is opened
- You can download or clone the project, once you have the files you'll need a server to run the application. You can use the live server from visual studio code, for example. The main file is the
index.html
- You can access the live site
- Semantic HTML5 markup
- CSS & JS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Session storage