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 Card Design

@Dheeraj-Yadav8178

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


Hello guys👋, this is my second project please watch it and give your feedback how is it. Thank You😊

Community feedback

S MD suleman 3,530

@sulemaan7070

Posted

A few things you can add to make it perfect.

  1. font family and font-weight to the h1.
  2. font family of the pricing section.
  3. you can give the image a max-width of 100%(so that it can be fit to the div).
  4. finally the text-container should be limited to a certain width on the mobile view
  5. you can change the whole body color instead of wrapper

Marked as helpful

0

@Dheeraj-Yadav8178

Posted

@sulemaan7070 Thank you for giving your feedback😊, I will keep these things in mind from next time.

0

@PiyushJain01

Posted

Hi 👋 You can give background :#ffe6ff; to body instead of .wrapper because in mobile view some area at bottom side is not covered by the color also the wrapper is not aligned vertically center (in small screens). You can add the below code to fix these problems.

body {
    height: 100vh;
    display: flex;
    background: #ffe6ff;
    flex-direction: column;
    justify-content: center;
}

I hope this will help you. Rest all is perfect. Happy Coding :)

Marked as helpful

0

@Dheeraj-Yadav8178

Posted

@PiyushJain01 Thank you for giving your feedback😊, I will keep these things in mind from next time.

0
Can 235

@escarcan

Posted

Looks good! just remember to add the "alt" attribute to your img tags to improve accesibility and wrap your code with a main tag to fix your reports.

0

@Dheeraj-Yadav8178

Posted

@escarcan Thank you for giving your feedback😊, I will keep these things in mind from next time.

0

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