This is a solution to the Product preview card component 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 depending on their device's screen size
- See hover and focus states for interactive elements
- Solution URL: GitHub Repository
- Live Site URL: Here
Developed in on Linux with VSCode, using the Live Server addon for instant feedback.
- CSS custom properties
- Flexbox
- CSS Grid
I tend to focus on Backend development, so this is my first attempt at trying to accurately replicate a provided design (as opposed to designing from scratch) and was a very interesting learning experience. I think I'll be doing more of these! :)
I also learned to be careful where you click on elements in Figma, you may activate a drop shadow by accident, then implement it not realising its not actually in the design!
I belive the CSS and HTML could be tightened up, I'll come back later and look at it with more experienced eyes. I'm open to suggestions!
- Website - Grant Ramsay
- Frontend Mentor - @seapagan
- Twitter - @gnramsay_dev