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.
The challenge is to create a product preview card.
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: solution URL
- Live Site URL: live site URL
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Desktop-first workflow
I was able to use flexbox efficiently. Also media queries to get optimal layout on mobile nad desktop view.
- W3schools - This really helped me in flexbox and media queries.
- Website - Moyo Sharon
- Frontend Mentor - @MoyoSharon
- Twitter - @Moyo_61.