Greetings Hafeez . Welcome to Frontend Mentor and congratulations for taking your first challenge.
HTML
- preferably use semantic html, elements such as header, main , footer gives meaning to your project than the general div element. Semantic elements makes your site accessible without additional coding
- heading elements should follow a sequential order with the h1 being the first level heading. Use css to style to the correct size.
Add to cart
, in my opinion should be a button not a link. A link is for navigation purposes while buttons are associated with click events.
CSS
- try using mobile first for styling, that is your base styles will cater for small devices and then apply media queries when your site start showing of stretching or content is moving out of position. At that point apply media query using
min-width
- for sizes , look at using
rems
instead of using px values, the following article will guide you on the benefits of that. [rem vs px](Why designers should move from px to rem (and how to do that in Figma)) - you don't really need to add border-radius to the
.img-container
, addoverflow: hidden;
to the.preview-card
Marked as helpful
@elfreeze
Posted
Hi Chamu! Thanks for your feedback. I'm really excited to have you review my solution. I've seen your recommendations and I will make corrections ASAP.
Thanks once again.
@elfreeze
Posted
@ChamuMutezva Hi Chamu, I made some adjustments to the challenge by implementing some of your suggestions. Thanks for the first review. Can you please help me review it a second time? I'll really appreciate it. Thanks once again.