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

My 5th project | responsive design

Reuel VJ 80

@rvj1

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'm happy that i completed this product, I hope I did this project correctly.

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

I had a small difficulty in the @media part but with the help of chat GPT, I somehow made it right

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

In the layout part, i don't know if it's correct right now, I'm having a small difficulty in that part

Community feedback

Mahmood 1,070

@MahmoodHashem

Posted

Congrats on completing the challenge! ✅

Your project looks fantastic!

Here's a tip to make it even better:

You did well to use flex to center your card, but for better responsiveness, you should also set the height of your body to 100vh to ensure it is centered on every size of the page.

body {
  height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
}

Hope this helps!

Keep up the great work!

Marked as helpful

1

@DoneWithWork

Posted

Hi. Congrats on finishing this project. Just some pointers:

  1. Try to use clamp or min-width to avoid card from scaling too small/too big

  2. Use more descriptive classes instead of one character classes

  • makes it easier to know which element you are styling
  1. On desktop version the text only takes up 50% of the container
  • work a little more on media queries and testing

Other than that, pretty great :)

Marked as helpful

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