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: Add solution URL here
- Live Site URL: Add live site URL here
So I kinda cheated and found a finished version of the challenge and basically traced it. I am going back through the code and adding comments to elements for my own future reference.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
I learned what a flexbox was and when to use that instead of a grid for screen optimization.
I will re-do this challenge again from the applying what I've learned and try to add slight style differences
- CSS Flexbox - This helped me understand what flexboxes are and how to use them
- Amjad12 - I used their solution to the challenge as my template
- Website - Andre McDonald
- Frontend Mentor - @ADmcdon
I would like to give Amjad all the credit for their solution, helped me to understand how to format side by side elements without using a grid, and how to make a responsive layout