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: Solution URL
- Live Site URL: Live Site URL
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
I achieved responsiveness by applying the box model concept to control the spacing, padding, and margins of elements. I also used flexbox to create flexible and responsive layouts without having to use grid.
I would like to re-build this challenge using react library with Tailwind for styling and Svelte to compare.
- Website - Alexander Chepkiyeng
- Frontend Mentor - @Xanderyeng
- LinkedIn - @alex-chepkiyeng