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
- Live Site URL: I live here
- Solution URL: Click Here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
Whenever you're using images or any asset in your React app, be sure to import them or else your application will break in production mode.
import avatar from './src/assets/images/avatar.jpg'
<img src={avatar} alt="avatar">
- Automatic Dark Mode
- Sticky navbar on mobile
[] - Notifications on performing actions
- React Docs - React's Documentation is the best place to learn about it.
- John Smilga's React Course - This course is splendid for beginners.
- Website - Basit Korai
- Frontend Mentor - @basit-flash
- Twitter - @basitxkorai
I truly want to thank John Smilga for his free courses that have been teaching me web development.