Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive product view card

@hebaahmedsaleh

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

i use mobile first style for responsiveness

What challenges did you encounter, and how did you overcome them?

it doesnt work perfectly with me

What specific areas of your project would you like help with?

Community feedback

@MohammadAzmatAli

Posted

You have done a great job. Here are some points which i would suggest :

  1. The size of the image and content will be same.
  2. The image you used in the desktop version is the image which will be used in the mobile version of the webpage. You can try this :
<picture> <source media="(max-width: 460px)" srcset="./images/image-product-mobile.jpg"> <img src="./images/image-product-desktop.jpg" alt="images of the product"> </picture>

Change the source of the images accordingly. This section will help you to change the images based on the screen size.

  1. The font size of the price will be a bit bigger.

I hope this helps.....

Marked as helpful

1
CodeHeaven 160

@twobottles2092

Posted

good job

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord