This is a solution to the E-commerce product page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
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
- Solution URL: Ecommerce Product Page
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- I learned more about applying mobile-first principles in designing interfaces.
- I also learned about using functional programming principles in writing maintainable and reusable code.
- I intend to learn design patterns (in order to improve my codebase) and dive head into React (in order to create reusable components and improve performance)
- Box Shadow Generator - This helped me in creating box shadows with ease for interactive components.
- Setting CSS Opacity Without Affecting Child Elements - This is an amazing article which helped me finally understand how to set opacity without affecting child elements. It was useful in designing the lightbox. I'd recommend it to anyone still learning this concept.
- Frontend Mentor - @omeizahanif
Special thanks to Frontend Mentor for giving me much needed purpose through practice projects.